From ce88b4e163cb3920d2dcb00a14984e0a7b43f19e Mon Sep 17 00:00:00 2001 From: Little Dipper Date: Wed, 14 Jun 2023 01:52:58 +0200 Subject: [PATCH] api/chat --- containers/api/src/chat/chat.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/api/src/chat/chat.service.ts b/containers/api/src/chat/chat.service.ts index 5cfa25a3..eb07634a 100644 --- a/containers/api/src/chat/chat.service.ts +++ b/containers/api/src/chat/chat.service.ts @@ -31,7 +31,7 @@ export class ChatService { // import { createConnection } from 'typeorm'; async getConv(username: string): Promise{ - // username = "apommier" + username = "sadjigui" const convs = await this.chatRepository.query("SELECT * FROM \"conv\" WHERE $1 = ANY (ARRAY[members]);", [username]) console.log(`convs= ${convs}`) return convs;