Skip to content

Commit

Permalink
[core] fix /api/messages
Browse files Browse the repository at this point in the history
fix #622
  • Loading branch information
devlikepro committed Oct 31, 2024
1 parent 454bda4 commit c6284eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/chatting.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ export class ChatQuery extends SessionQuery {

export class GetMessageQuery extends GetChatMessagesQuery {
@IsNotEmpty()
@IsString()
session: string = WHATSAPP_DEFAULT_SESSION_NAME;

@ChatIdProperty()
@IsString()
chatId: string;
}

Expand Down

0 comments on commit c6284eb

Please sign in to comment.