From bae6866fe1f5d7ad20f70e9d46099428c330093d Mon Sep 17 00:00:00 2001 From: FacerAin Date: Fri, 8 Nov 2024 11:09:50 +0900 Subject: [PATCH] feat: fix delete stomp connection --- .../org/dnd/timeet/agenda/controller/AgendaController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/dnd/timeet/agenda/controller/AgendaController.java b/src/main/java/org/dnd/timeet/agenda/controller/AgendaController.java index 05040bc..67b91e8 100644 --- a/src/main/java/org/dnd/timeet/agenda/controller/AgendaController.java +++ b/src/main/java/org/dnd/timeet/agenda/controller/AgendaController.java @@ -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) {