This commit is contained in:
LittleSheep 2024-02-08 11:11:24 +08:00
parent e8b5b05755
commit 07c6125cf3

View File

@ -62,7 +62,7 @@ func NewServer() {
api.Get("/notifications", auth, getNotifications)
api.Put("/notifications/:notificationId/read", auth, markNotificationRead)
api.Post("/notification/subscribe", auth, addNotifySubscriber)
api.Post("/notifications/subscribe", auth, addNotifySubscriber)
api.Get("/users/me", auth, getUserinfo)
api.Put("/users/me", auth, editUserinfo)