Skip to content

Commit

Permalink
get notification user by token; make no-auth endpoints available unde…
Browse files Browse the repository at this point in the history
…r /public
  • Loading branch information
konrad2002 committed Dec 5, 2024
1 parent 3477d4a commit a31d0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller/notification_user_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ import (
)

func notificationUserController() {
router.GET("/notification_user/public/token/:token", getNotificationUserByToken)
router.POST("/notification_user/public/register", registerNotificationUserWithoutToken)

router.GET("/notification_users", getNotificationUsers)
router.GET("/notification_user", getNotificationUser)
router.GET("/notification_user/token/:token", getNotificationUserByToken)
router.GET("/notification_user/:id", getNotificationUserById)

router.POST("/notification_user", addNotificationUser)
Expand Down

0 comments on commit a31d0b8

Please sign in to comment.