diff --git a/src/controllers/exam.controller.ts b/src/controllers/exam.controller.ts index 25e3964..f68cb86 100644 --- a/src/controllers/exam.controller.ts +++ b/src/controllers/exam.controller.ts @@ -15,7 +15,6 @@ export const handleAddExam = async ( res: Response, next: NextFunction ) => { - console.log("사용자 캘린더 시험 추가 요청"); try { const examData = bodyToExam(req.body); const exam = await addExamService(examData); @@ -38,7 +37,6 @@ export const handleGetExam = async ( res: Response, next: NextFunction ): Promise => { - console.log("사용자 캘린더 시험 조회 요청"); try { const userId = Number(req.query.userId); // 쿼리 파라미터에서 userId 추출 @@ -71,7 +69,6 @@ export const handleDeleteExam = async ( res: Response, next: NextFunction ): Promise => { - console.log("사용자 캘린더 시험 삭제 요청"); try { const examId = Number(req.params.examId); // url 파라미터에서 시험 id 추출 diff --git a/src/controllers/notification.controller.ts b/src/controllers/notification.controller.ts index e316637..50eb2f2 100644 --- a/src/controllers/notification.controller.ts +++ b/src/controllers/notification.controller.ts @@ -8,8 +8,6 @@ export const handleDnDNotification = async ( res: Response, next: NextFunction ): Promise => { - console.log("방해 금지 시간 알림 설정"); - const notificationService = new NotificationService(); try { @@ -30,7 +28,6 @@ export const handleDnDNotification = async ( message: "Notification settings saved successfully", data: result, }); - console.log(data); } catch (error: any) { console.error("에러 발생:", error); next(error); diff --git a/src/controllers/schedule.controller.ts b/src/controllers/schedule.controller.ts index 267d173..d99f11e 100644 --- a/src/controllers/schedule.controller.ts +++ b/src/controllers/schedule.controller.ts @@ -11,9 +11,6 @@ export const handleRecommendSchedule = async ( res: Response, next: NextFunction ) => { - console.log("AI 시험 일정 추천 함수 호출"); - console.log("body: ", req.body); - try { // 요청 본문을 DTO로 변환 const dto = recommendScheduleDto(req.body); diff --git a/src/services/certification.service.ts b/src/services/certification.service.ts index 76a41d5..2a77e85 100644 --- a/src/services/certification.service.ts +++ b/src/services/certification.service.ts @@ -18,7 +18,6 @@ export const searchCertifications = async ({ searchQuery, searchCategory ?? undefined ); - console.log("서비스에서 자격증: "); - console.log(certifications); + return responseFromCertifications(certifications); }; diff --git a/src/services/exam.service.ts b/src/services/exam.service.ts index e091048..71e5b45 100644 --- a/src/services/exam.service.ts +++ b/src/services/exam.service.ts @@ -14,7 +14,6 @@ import { InvalidDataError } from "../errors.js"; export const addExamService = async (data: Exam) => { // FCM 토큰 처리 if (!data.fcmToken) { - // data.fcmToken = await getUserFcmToken(data.userId); const fetchedToken = await getUserFcmToken(data.userId); // FCM 토큰 업데이트 (기존과 다를때만)