From fafefd4215c4e0e9928cfe36dfa438d87015599b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=80=E1=85=AA=E1=86=BC=E1=84=92?= =?UTF-8?q?=E1=85=AE=E1=86=AB?= Date: Sat, 13 Jan 2024 13:33:32 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20:=20=EC=98=A4=EB=A5=98=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/chat/chat.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BE/src/chat/chat.service.ts b/BE/src/chat/chat.service.ts index 6827a9b..ee5b6b7 100644 --- a/BE/src/chat/chat.service.ts +++ b/BE/src/chat/chat.service.ts @@ -275,9 +275,9 @@ export class ChatService { } else if (room.writer !== userId && room.user !== userId) { throw new HttpException('권한이 없습니다.', 403); } else if (room.writer === userId && room.writer_hide === true) { - throw new HttpException('채팅방이 존재하지 않습니다.', 404); + throw new HttpException('숨긴 채팅방입니다.', 403); } else if (room.user === userId && room.user_hide === true) { - throw new HttpException('채팅방이 존재하지 않습니다.', 404); + throw new HttpException('숨긴 채팅방입니다.', 403); } }