Skip to content

Commit

Permalink
fix: module error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeahxx19 committed Jan 21, 2024
1 parent 3877354 commit ed8fdfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/blurting/blurting.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
BlurtingAnswerEntity,
BLurtingArrowEntity,
LikeEntity,
NotificationEntity,
} from 'src/entities';
import { UserModule } from 'src/user/user.module';
import { CacheModule } from '@nestjs/cache-manager';
Expand All @@ -31,6 +32,7 @@ import { ReportEntity } from 'src/entities/report.entity';
BLurtingArrowEntity,
LikeEntity,
ReportEntity,
NotificationEntity,
]),
CacheModule.register({
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down
3 changes: 3 additions & 0 deletions src/chat/chat.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { ChatController } from './chat.controller';
import { UserModule } from 'src/user/user.module';
import { FcmModule } from 'src/firebase/fcm.module';
import { ReportModule } from 'src/report/report.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { NotificationEntity } from 'src/entities';

@Module({
imports: [
Expand All @@ -26,6 +28,7 @@ import { ReportModule } from 'src/report/report.module';
{ name: Room.name, schema: RoomSchema },
{ name: SocketUser.name, schema: SocketUserSchema },
]),
TypeOrmModule.forFeature([NotificationEntity]),
],
providers: [ChatGateway, ChatService],
controllers: [ChatController],
Expand Down

0 comments on commit ed8fdfe

Please sign in to comment.