🎨 Change the api handler name of listing notifications

This commit is contained in:
2025-03-03 20:54:53 +08:00
parent 53d856c7a7
commit 0c0164c2e8
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ func MapControllers(app *fiber.App, baseURL string) {
notify := api.Group("/notifications").Name("Notifications API")
{
notify.Get("/", getNotifications)
notify.Get("/", listNotification)
notify.Get("/count", getNotificationCount)
notify.Get("/subscription", getNotifySubscriber)
notify.Post("/subscription", addNotifySubscriber)