Skip to content

Commit

Permalink
feat: fix delete stomp connection
Browse files Browse the repository at this point in the history
  • Loading branch information
FacerAin committed Nov 21, 2024
1 parent bae6866 commit 01b8837
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 01b8837

Please sign in to comment.