diff --git a/internal/notification/handler.go b/internal/notification/handler.go index e8b754d..18decb8 100644 --- a/internal/notification/handler.go +++ b/internal/notification/handler.go @@ -45,9 +45,7 @@ func (h *NotificationHandler) Send(c echo.Context) error { } // Send notification - if err := h.service.Send(c.Request().Context(), &req); err != nil { - return response.InternalServerError(c, "Failed to send notification") - } + go h.service.Send(c.Request().Context(), &req) return response.Created(c, nil, "Notification sent successfully") }