diff --git a/BE/src/chat/chat.service.ts b/BE/src/chat/chat.service.ts index 79e556b..9000c46 100644 --- a/BE/src/chat/chat.service.ts +++ b/BE/src/chat/chat.service.ts @@ -191,9 +191,9 @@ export class ChatService { 'chat_info.sender as sender', ]) .where('chat_room.writer = :userId', { userId: userId }) - .andWhere('chat_room.writer_left IS false') + .andWhere('chat_room.writer_hide IS false') .orWhere('chat_room.user = :userId', { userId: userId }) - .andWhere('chat_room.user_left IS false') + .andWhere('chat_room.user_hide IS false') .orderBy('chat_info.create_date', 'DESC') .getRawMany();