Skip to content

Commit

Permalink
fix: Apply, Group 내부 API Legacy 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jihwan2da committed May 14, 2024
1 parent c5927b8 commit e609053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ApplyPayloadApi {
@GetMapping("/applies/{applyId}")
public ResponseEntity<ApplyPayload> getApplyPayload(
@PathVariable("applyId") Long applyId,
@RequestParam("eventType") ApplyEventType eventType
@RequestParam(value = "eventType", required = false) ApplyEventType eventType
) {
ApplyPayload response = applyPayloadService.getPayload(applyId, eventType);
return ResponseEntity.ok(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class GroupPayloadApi {
@GetMapping("/groups/{groupId}")
public ResponseEntity<GroupPayload> getGroupPayload(
@PathVariable("groupId") Long groupId,
@RequestParam("eventType") GroupPayloadEventType eventType
@RequestParam(value = "eventType", required = false) GroupPayloadEventType eventType
) {
GroupPayload response = groupPayloadService.getGroupPayload(groupId, eventType);
return ApiResponse.ok(response);
Expand Down

0 comments on commit e609053

Please sign in to comment.