Skip to content

Commit

Permalink
Merge pull request #68 from Fam-Story/feat/66-realtime-chat
Browse files Browse the repository at this point in the history
hotfix: Chat Module 의존성 수정 (#66)
  • Loading branch information
synoti21 authored Dec 3, 2023
2 parents 57b8e16 + af9a84d commit f82fa90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ import { ChatModule } from './module/chat.module';
ChatModule,
],
controllers: [AppController],
providers: [AppService, ChatGateway],
providers: [AppService],
})
export class AppModule {}
2 changes: 0 additions & 2 deletions src/domain/chat/chat.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { UseGuards } from '@nestjs/common';
import { JwtServiceAuthGuard } from '../../auth/guards/jwt-service-auth.guard';
import { InjectRepository } from '@nestjs/typeorm';
import { ChatMessage } from '../../infra/entities/message.entity';
import { Repository } from 'typeorm';
import { ChatService } from './chat.service';
import { CreateChatDto } from './dto/create-chat.dto';

Expand All @@ -24,7 +23,6 @@ export class ChatGateway {

constructor(
@InjectRepository(ChatMessage)
private readonly chatRepository: Repository<ChatMessage>,
private readonly chatService: ChatService,
) {}

Expand Down

0 comments on commit f82fa90

Please sign in to comment.