diff --git a/app/module/notifications/controller/notifications.controller.go b/app/module/notifications/controller/notifications.controller.go index 56f1fde..34fd934 100644 --- a/app/module/notifications/controller/notifications.controller.go +++ b/app/module/notifications/controller/notifications.controller.go @@ -54,6 +54,7 @@ func (_i *notificationsController) Create(c *fiber.Ctx) error { } return utilRes.Resp(c, utilRes.Response{ + Success: true, Messages: utilRes.Messages{"Notification successfully created"}, Data: data, }) @@ -96,6 +97,7 @@ func (_i *notificationsController) ListBySentTo(c *fiber.Ctx) error { } return utilRes.Resp(c, utilRes.Response{ + Success: true, Messages: utilRes.Messages{"Notifications list successfully retrieved"}, Data: fiber.Map{ "total": total, @@ -130,6 +132,7 @@ func (_i *notificationsController) MarkRead(c *fiber.Ctx) error { } return utilRes.Resp(c, utilRes.Response{ + Success: true, Messages: utilRes.Messages{"Notification successfully marked as read"}, }) } @@ -158,6 +161,7 @@ func (_i *notificationsController) Delete(c *fiber.Ctx) error { } return utilRes.Resp(c, utilRes.Response{ + Success: true, Messages: utilRes.Messages{"Notification successfully deleted"}, }) }