Skip to content

Commit

Permalink
Merge pull request #87 from FacerAin/main
Browse files Browse the repository at this point in the history
feat: fix delete stomp connection
  • Loading branch information
FacerAin authored Nov 21, 2024
2 parents b1b2c90 + 01b8837 commit 26c17c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ public AgendaActionResponse handleAgendaAction(@DestinationVariable("meeting-id"

@Operation(summary = "안건 삭제", description = "지정된 ID에 해당하는 안건을 삭제한다.")
@MessageMapping("/meeting/{meeting-id}/agendas/{agenda-id}/delete")
@SendTo("/topic/meeting/{meeting-id}/delete/{agenda-id}/delete")
@SendTo("/topic/meeting/{meeting-id}/agendas/{agenda-id}/delete")
public ResponseEntity deleteAgenda(
@DestinationVariable("meeting-id") Long meetingId,
@DestinationVariable("agenda-id") Long agendaId) {
agendaService.cancelAgenda(meetingId, agendaId);

return ResponseEntity.noContent().build();
return ResponseEntity.ok(ApiUtils.success(agendaId));
}

@Operation(summary = "안건 순서 변경", description = "안건의 순서를 변경한다.")
Expand Down

0 comments on commit 26c17c1

Please sign in to comment.