💥 Remove deprecated subscription API

This commit is contained in:
2024-11-23 00:28:42 +08:00
parent 8e1ed67c48
commit 663b563b39
2 changed files with 4 additions and 7 deletions

View File

@ -18,9 +18,6 @@ func MapAPIs(app *fiber.App, baseURL string) {
notify := api.Group("/notifications").Name("Notifications API")
{
// Deprecated, use /subscription instead, will be removed in the future
notify.Post("/subscribe", addNotifySubscriber)
notify.Get("/", getNotifications)
notify.Get("/subscription", getNotifySubscriber)
notify.Post("/subscription", addNotifySubscriber)