From 5d39c0070811fa689c3c545a8c79b9fea44b10af Mon Sep 17 00:00:00 2001 From: Seongyun Lee <79950005+seongyunlee@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:54:10 +0900 Subject: [PATCH] fix/ append omitted "await" (#103) --- src/tutoring/tutoring.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tutoring/tutoring.service.ts b/src/tutoring/tutoring.service.ts index 3dd33ab..fafdaa6 100644 --- a/src/tutoring/tutoring.service.ts +++ b/src/tutoring/tutoring.service.ts @@ -191,10 +191,10 @@ export class TutoringService { } return new Success( '수업 정보를 가져왔습니다.', - this.classroomChannel(tutoringId, userId), + await this.classroomChannel(tutoringId, userId), ); } catch (e) { - return new Fail('수업 정보를 가져오는데 실패했습니다.' + e.message); + return new Fail('수업 정보를 가져오는데 실패했습니다.'); } }