chore: updated user environment to use PubSub instead of SubscriptionHandler

This commit is contained in:
ankitsridhar16
2023-01-20 14:56:28 +05:30
parent a0006f73ac
commit bc55af27a7
3 changed files with 29 additions and 45 deletions

View File

@@ -5,7 +5,6 @@ import { UserModule } from '../user/user.module';
import { UserEnvsUserResolver } from './user.resolver';
import { UserEnvironmentsResolver } from './user-environments.resolver';
import { UserEnvironmentsService } from './user-environments.service';
import { SubscriptionHandler } from '../subscription-handler';
@Module({
imports: [PrismaModule, PubSubModule, UserModule],
@@ -13,7 +12,6 @@ import { SubscriptionHandler } from '../subscription-handler';
UserEnvironmentsResolver,
UserEnvironmentsService,
UserEnvsUserResolver,
SubscriptionHandler,
],
exports: [UserEnvironmentsService],
})