Skip to content

Commit

Permalink
feat: 여행 Our TODO 상세 조회 API 구현 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwoongH committed Jan 11, 2024
1 parent d2d3c68 commit bd252b3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,11 @@ public ResponseEntity<ApiResponse<?>> getMyTodoDetail(@PathVariable final Long t
final MyTodoResponse response = tripDetailService.getMyTodoDetail(tripId);
return ApiResponseUtil.success(SuccessMessage.OK, response);
}

@GetMapping("/{tripId}/our")
public ResponseEntity<ApiResponse<?>> getOurTodoDetail(@UserId final Long userId,
@PathVariable final Long tripId) {
final OurTodoResponse response = tripDetailService.getOurTodoDetail(userId, tripId);
return ApiResponseUtil.success(SuccessMessage.OK, response);
}
}

0 comments on commit bd252b3

Please sign in to comment.