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); } }