From 47863325ea039611e20b19b41bfbb7b4dee972c7 Mon Sep 17 00:00:00 2001 From: kinou-p Date: Fri, 9 Jun 2023 17:17:36 +0200 Subject: [PATCH] fix getConv --- 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 c86389bb..5cfa25a3 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 = "apommier" const convs = await this.chatRepository.query("SELECT * FROM \"conv\" WHERE $1 = ANY (ARRAY[members]);", [username]) console.log(`convs= ${convs}`) return convs;