From b09087dc0c7d8e45038eda66e54f72f455074541 Mon Sep 17 00:00:00 2001 From: Wo-ogie <siwall0105@gmail.com> Date: Sat, 25 Nov 2023 13:07:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8A=A4=EC=BC=80=EC=A4=84=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=EC=9D=B4=20=EB=90=98=EC=A7=80=20=EC=95=8A=EC=9D=80=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/schedule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/schedule.js b/controllers/schedule.js index 5f1886c..baca111 100644 --- a/controllers/schedule.js +++ b/controllers/schedule.js @@ -38,7 +38,7 @@ exports.createMySchedules = async (req, res, next) => { const { schedules } = req.body; try { await validateScheduleNotExist(participantId); - const createdSchedules = createSchedules(participantId, schedules); + const createdSchedules = await createSchedules(participantId, schedules); return res.json(SchedulesResponse.from(createdSchedules)); } catch (error) { return next(error); -- GitLab