Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Dec 2, 2024
1 parent cac3dd5 commit 3490ac8
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/bot/src/bot.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface MessagePayload {
@UseInterceptors(EventsInterceptor)
export class BotController {
private readonly logger = new Logger(BotController.name);
constructor(private readonly botService: BotService) { }
constructor(private readonly botService: BotService) {}

@MessagePattern(TelegramAction.SEND_MESSAGE)
async sendMessage(@Payload() payload: MessagePayload): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion apps/bot/src/bot.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ import { BotController } from './bot.controller';
controllers: [BotController],
providers: [BotService],
})
export class BotModule { }
export class BotModule {}
2 changes: 1 addition & 1 deletion apps/event-store/src/event-store.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { API_CONSTANTS } from 'grammy';
export class EventStoreController {
private readonly logger = new Logger(EventStoreController.name);

constructor(private readonly eventsService: EventStoreService) { }
constructor(private readonly eventsService: EventStoreService) {}

a = typeof API_CONSTANTS.ALL_UPDATE_TYPES;

Expand Down
2 changes: 1 addition & 1 deletion apps/graph-store/src/chat_member/chat_member.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Action =
export class ChatMemberController {
private readonly logger = new Logger(ChatMemberController.name);

constructor(private readonly chatMemberService: ChatMemberService) { }
constructor(private readonly chatMemberService: ChatMemberService) {}

@MessagePattern(UpdateEvent.CHAT_MEMBER)
async chat_member(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class EditedMessageController {
private readonly joinedService: JoinedService,
private readonly repliedService: RepliedService,
private readonly mentionedService: MentionedService,
) { }
) {}

@MessagePattern(UpdateEvent.EDITED_MESSAGE)
async chat_member(
Expand Down
2 changes: 1 addition & 1 deletion apps/graph-store/src/graph-store.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ import { MessageReactionModule } from './message_reaction/message_reaction.modul
MessageReactionModule,
],
})
export class GraphStoreModule { }
export class GraphStoreModule {}
2 changes: 1 addition & 1 deletion apps/graph-store/src/mentioned/mentioned.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Module } from '@nestjs/common';
import { MentionedService } from './mentioned.service';

@Module({
providers: [MentionedService]
providers: [MentionedService],
})
export class MentionedModule {}
2 changes: 1 addition & 1 deletion apps/graph-store/src/message/message.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class MessageController {
private readonly joinedService: JoinedService,
private readonly repliedService: RepliedService,
private readonly mentionedService: MentionedService,
) { }
) {}

@MessagePattern(UpdateEvent.MESSAGE)
async message(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MessageReactionController {
private readonly userService: UserService,
private readonly joinedService: JoinedService,
private readonly messageReactionService: MessageReactionService,
) { }
) {}

@MessagePattern(UpdateEvent.MESSAGE_REACTION)
async message(
Expand Down
2 changes: 1 addition & 1 deletion apps/graph-store/src/replied/replied.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Module } from '@nestjs/common';
import { RepliedService } from './replied.service';

@Module({
providers: [RepliedService]
providers: [RepliedService],
})
export class RepliedModule {}
2 changes: 1 addition & 1 deletion apps/graph-store/src/user/user.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Module } from '@nestjs/common';
import { UserService } from './user.service';

@Module({
providers: [UserService]
providers: [UserService],
})
export class UserModule {}
2 changes: 1 addition & 1 deletion apps/question/src/question.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class QuestionController {
private readonly questionService: QuestionService,
@Inject(Services.TelegramBot.name)
private readonly telegramClient: ClientProxy,
) { }
) {}

@MessagePattern(UpdateEvent.MESSAGE)
async message(@Payload() ctx: Context): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion apps/question/src/question.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ import { HttpModule } from '@nestjs/axios';
controllers: [QuestionController],
providers: [QuestionService],
})
export class QuestionModule { }
export class QuestionModule {}

0 comments on commit 3490ac8

Please sign in to comment.