Skip to content

Commit

Permalink
feat #103: add controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-yhc committed Oct 5, 2023
1 parent aaa4ca7 commit 7b445b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@RequiredArgsConstructor
public class MissionController {
private final CreateMissionService createMissionService;
private final UpdateMissionService updateMissionService;
private final DeleteMissionService deleteMissionService;
private final MissionService missionService;

Expand All @@ -47,7 +48,7 @@ public ApiDataResponse<CreateMissionResponse> updateMissinon(
) {
Member member = customUserDetails.getMember();

Mission mission = createMissionService.updateMission(member, missionId, requestBody);
Mission mission = updateMissionService.updateMission(member, missionId, requestBody);

return ApiDataResponse.of(CreateMissionResponse.builder()
.missionId(mission.getMissionId())
Expand Down

0 comments on commit 7b445b2

Please sign in to comment.