From c15190b4a41ee51edf718be56daed44e24269807 Mon Sep 17 00:00:00 2001 From: Seongyun Lee <79950005+seongyunlee@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:43:35 +0900 Subject: [PATCH] =?UTF-8?q?fix/=20=EC=A7=80=EC=A0=95=20=EC=A7=88=EB=AC=B8?= =?UTF-8?q?=20=EC=98=AC=EB=A6=AC=EB=A9=B4=20=EB=A7=8C=EB=93=A4=EC=96=B4?= =?UTF-8?q?=EC=A7=84=20=EC=B1=84=ED=8C=85=20=EC=95=84=EC=9D=B4=EB=94=94=20?= =?UTF-8?q?=EC=95=8C=EB=A0=A4=EC=A4=8C=20(#91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/question/question.service.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/question/question.service.ts b/src/question/question.service.ts index bf7ca2f..3e5a4c3 100644 --- a/src/question/question.service.ts +++ b/src/question/question.service.ts @@ -106,7 +106,6 @@ export class QuestionService { questionId: questionId, subTitle: `${createQuestionDto.schoolLevel} ${createQuestionDto.schoolSubject}`, }; - console.log(createQuestionDto.requestTutoringStartTime); const requestMessage = { startDateTime: createQuestionDto.requestTutoringStartTime.toISOString(), }; @@ -126,9 +125,11 @@ export class QuestionService { JSON.stringify(requestMessage), ); - return new Success('질문이 생성되었습니다.', question); + return new Success('질문이 생성되었습니다.', { + ...question, + chattingId: chatRoomId, + }); } catch (error) { - console.log(error); return new Fail(error.message); } }