Skip to content

Commit

Permalink
Merge pull request #130 from Team-Going/feature/129
Browse files Browse the repository at this point in the history
[fix] API 경로 중복 오류 수정
  • Loading branch information
SunwoongH authored Mar 1, 2024
2 parents 37c01b8 + fcce46c commit 4c1912f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ResponseEntity<BaseResponse<?>> getParticipants(@UserId final Long userId
return ApiResponseUtil.success(SuccessMessage.OK, response);
}

@PatchMapping("/{tripId}")
@PatchMapping("/{tripId}/leave")
public ResponseEntity<BaseResponse<?>> leaveTrip(@UserId final Long userId,
@PathVariable final Long tripId) {
tripDetailService.leaveTrip(userId, tripId);
Expand Down

0 comments on commit 4c1912f

Please sign in to comment.