Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/controllers/exam.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -38,7 +37,6 @@ export const handleGetExam = async (
res: Response,
next: NextFunction
): Promise<void> => {
console.log("사용자 캘린더 시험 조회 요청");

try {
const userId = Number(req.query.userId); // 쿼리 파라미터에서 userId 추출
Expand Down Expand Up @@ -71,7 +69,6 @@ export const handleDeleteExam = async (
res: Response,
next: NextFunction
): Promise<void> => {
console.log("사용자 캘린더 시험 삭제 요청");

try {
const examId = Number(req.params.examId); // url 파라미터에서 시험 id 추출
Expand Down
3 changes: 0 additions & 3 deletions src/controllers/notification.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export const handleDnDNotification = async (
res: Response,
next: NextFunction
): Promise<void> => {
console.log("방해 금지 시간 알림 설정");

const notificationService = new NotificationService();

try {
Expand All @@ -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);
Expand Down
3 changes: 0 additions & 3 deletions src/controllers/schedule.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions src/services/certification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const searchCertifications = async ({
searchQuery,
searchCategory ?? undefined
);
console.log("서비스에서 자격증: ");
console.log(certifications);

return responseFromCertifications(certifications);
};
1 change: 0 additions & 1 deletion src/services/exam.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 토큰 업데이트 (기존과 다를때만)
Expand Down