Skip to content

Commit

Permalink
deleted @MessageMapping(/notifications)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospodaryk committed Oct 12, 2023
1 parent 35389b9 commit a158ddd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/main/java/greencity/controller/EventsController.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public class EventsController {
* @return {@link EventDto} instance.
* @author Max Bohonko, Danylo Hlynskyi.
*/
@MessageMapping("/notifications")
@ApiOperation(value = "Create new event")
@ApiResponses(value = {
@ApiResponse(code = 201, message = HttpStatuses.CREATED),
Expand Down Expand Up @@ -137,7 +136,7 @@ public ResponseEntity<EventDto> getEvent(@PathVariable Long eventId, @ApiIgnore
* @return a page of {@link EventDto} instance.
* @author Max Bohonko, Olena Sotnik.
*/
@MessageMapping("/notifications")

@ApiOperation(value = "Get all events")
@ApiResponses(value = {
@ApiResponse(code = 200, message = HttpStatuses.OK),
Expand All @@ -158,7 +157,7 @@ public ResponseEntity<PageableAdvancedDto<EventDto>> getEvent(
* @return a page of {@link EventDto} instance.
* @author Danylo Hlysnkyi, Olena Sotnik.
*/
@MessageMapping("/notifications")

@ApiOperation(value = "Get all users events")
@ApiResponses(value = {
@ApiResponse(code = 200, message = HttpStatuses.OK),
Expand Down

0 comments on commit a158ddd

Please sign in to comment.