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 8, 2024
1 parent 25f4fa5 commit bae6866
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ public AgendaActionResponse handleAgendaAction(@DestinationVariable("meeting-id"
return agendaService.changeAgendaStatus(meetingId, agendaId, actionRequest);
}

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

0 comments on commit bae6866

Please sign in to comment.