From 8fad771b7a7c2dfd83eecc9f66396c7d3440e624 Mon Sep 17 00:00:00 2001 From: Mazyar Date: Mon, 22 Jun 2026 23:46:56 +0330 Subject: [PATCH] Update notification response message for clarity - Changed the response message in the `Send` method of the `NotificationHandler` from "Notification sent successfully" to "Notification created successfully" to better reflect the action performed. This update improves the clarity of the notification response, ensuring users receive accurate feedback on their actions. --- internal/notification/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/notification/handler.go b/internal/notification/handler.go index c47edf0..f1fc528 100644 --- a/internal/notification/handler.go +++ b/internal/notification/handler.go @@ -49,7 +49,7 @@ func (h *NotificationHandler) Send(c echo.Context) error { // Send notification go h.service.Send(context.Background(), &req) - return response.Created(c, nil, "Notification sent successfully") + return response.Created(c, nil, "Notification created successfully") } // GetNotifications gets notifications