diff --git a/logs/access-2024-04-22.0.log b/logs/access-2024-04-22.0.log new file mode 100644 index 0000000..e69de29 diff --git a/logs/error-2024-04-22.0.log b/logs/error-2024-04-22.0.log new file mode 100644 index 0000000..e69de29 diff --git a/src/main/java/com/sideProject/PlanIT/domain/program/controller/ProgramAdminController.java b/src/main/java/com/sideProject/PlanIT/domain/program/controller/ProgramAdminController.java index 6ce1fb9..d07abc0 100644 --- a/src/main/java/com/sideProject/PlanIT/domain/program/controller/ProgramAdminController.java +++ b/src/main/java/com/sideProject/PlanIT/domain/program/controller/ProgramAdminController.java @@ -85,7 +85,7 @@ public ApiResponse modify( public ApiResponse approve(@PathVariable("id") Long id, @Valid @RequestBody ApproveRequestDto request) { LocalDateTime now = LocalDateTime.now(); return ApiResponse.ok( - programService.approve(id, request.getTrainer(), now) + programService.approve(id, request.getTrainerId(), now) ); }