We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b6dcb commit 7af5bdfCopy full SHA for 7af5bdf
backend/src/chat/chat.resolver.ts
@@ -61,6 +61,8 @@ export class ChatResolver {
61
return this.chatService.getMessageById(messageId);
62
}
63
64
+ // To do: message need a update resolver
65
+
66
@UseGuards(ChatGuard)
67
@Query(() => [Message])
68
async getChatHistory(@Args('chatId') chatId: string): Promise<Message[]> {
0 commit comments