From f18dd14f2135f61f6cbfe9b8e5ecc88365e09868 Mon Sep 17 00:00:00 2001 From: moonjin-kim Date: Mon, 22 Apr 2024 20:18:46 +0900 Subject: [PATCH] fix: test --- logs/access-2024-04-22.0.log | 0 logs/error-2024-04-22.0.log | 0 .../domain/program/controller/ProgramAdminController.java | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 logs/access-2024-04-22.0.log create mode 100644 logs/error-2024-04-22.0.log 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) ); }