mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
add message_bus service dependency (#25)
This commit is contained in:
@@ -18,3 +18,7 @@ func (s *UserService) GetEvents(ctx echo.Context, params codegen.GetEventsParams
|
||||
list := service.MyService.Event().GetEvents()
|
||||
return ctx.JSON(http.StatusOK, list)
|
||||
}
|
||||
func (s *UserService) DeleteEventBySerial(ctx echo.Context, serial codegen.Serial) error {
|
||||
service.MyService.Event().DeleteEventBySerial(serial)
|
||||
return ctx.JSON(http.StatusOK, serial)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user