Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Add ConfigModule to ApiKeysModule
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 8, 2020
1 parent 24f0d24 commit e2541a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/api-keys/api-keys.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { PrismaModule } from '../prisma/prisma.module';
import { StripeModule } from '../stripe/stripe.module';
import { TokensModule } from '../tokens/tokens.module';
Expand All @@ -7,7 +8,7 @@ import { ApiKeyUserController } from './api-keys-user.controller';
import { ApiKeysService } from './api-keys.service';

@Module({
imports: [PrismaModule, TokensModule, StripeModule],
imports: [PrismaModule, TokensModule, StripeModule, ConfigModule],
controllers: [ApiKeyGroupController, ApiKeyUserController],
providers: [ApiKeysService],
})
Expand Down
1 change: 1 addition & 0 deletions src/modules/webhooks/webhooks.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ import { WebhooksService } from './webhooks.service';
imports: [PrismaModule, TokensModule, StripeModule],
controllers: [WebhookController],
providers: [WebhooksService],
exports: [WebhooksService],
})
export class WebhooksModule {}

0 comments on commit e2541a1

Please sign in to comment.