Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: updated filename to topicDefs
ankitsridhar16cb1b13bdb476
diff --git a/packages/hoppscotch-backend/src/pubsub/pubsub.service.ts b/packages/hoppscotch-backend/src/pubsub/pubsub.service.tsindex ba86342e1..bec396028 100644--- a/packages/hoppscotch-backend/src/pubsub/pubsub.service.ts+++ b/packages/hoppscotch-backend/src/pubsub/pubsub.service.ts@@ -4,7 +4,7 @@ import { default as Redis, RedisOptions } from 'ioredis';import { RedisPubSub } from 'graphql-redis-subscriptions';import { PubSub as LocalPubSub } from 'graphql-subscriptions';-import { TopicDef } from './subscriptionTopicsDefs';+import { TopicDef } from './topicsDefs';/*** RedisPubSub uses JSON parsing for back and forth conversion, which loses Date objects, hence this reviver brings them backdiff --git a/packages/hoppscotch-backend/src/pubsub/subscriptionTopicsDefs.ts b/packages/hoppscotch-backend/src/pubsub/topicsDefs.tssimilarity index 100%rename from packages/hoppscotch-backend/src/pubsub/subscriptionTopicsDefs.tsrename to packages/hoppscotch-backend/src/pubsub/topicsDefs.ts