From 57bc299cac3129c3ddc5b21add509c4f6ca57d08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=A1=B0=EB=8C=80=ED=9D=AC?= <joedaehui@ajou.ac.kr>
Date: Thu, 14 Nov 2024 23:33:56 +0900
Subject: [PATCH] =?UTF-8?q?style:=20=EC=8A=A4=EC=BC=80=EC=A4=84=20?=
 =?UTF-8?q?=EC=84=9C=EB=B9=84=EC=8A=A4=20=EC=98=A4=ED=83=80=20=EB=B3=80?=
 =?UTF-8?q?=EA=B2=BD=20(#5)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 services/scheduleService.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/services/scheduleService.js b/services/scheduleService.js
index aeb075d..9b6f6b8 100644
--- a/services/scheduleService.js
+++ b/services/scheduleService.js
@@ -32,7 +32,7 @@ class schedulService {
                 throw new Error('Schedule overlaps with existing schedule');
             }
 
-            const scehduleData = {
+            const scheduleData = {
                 user_id: userId,
                 title,
                 start_time,
@@ -41,7 +41,7 @@ class schedulService {
                 expiry_date: is_fixed ? null : this.getNextMonday()
             };
 
-            const schedule = await Schedule.create(scehduleData);
+            const schedule = await Schedule.create(scheduleData);
             return schedule;
         } catch (error) {
             throw new Error(`Failed to create schedule: ${error.message}`);
@@ -58,7 +58,7 @@ class schedulService {
             });
 
             if (!schedule) {
-                throw new Error('schedule not found');
+                throw new Error('Schedule not found');
             }
 
             // 일정 시작 시간 - 종료 시간 유효성 검사
@@ -92,7 +92,7 @@ class schedulService {
             });
 
             if (!schedule) {
-                throw new Error('schedule not found');
+                throw new Error('Schedule not found');
             }
 
             return true;
-- 
GitLab