Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -11,7 +11,12 @@ func RegisterUtilsRoutes(api fiber.Router, f *facade.Facade) {
|
||||
utils := api.Group("/v1/web/utils")
|
||||
|
||||
utils.Get("/getapptypes", f.UtilsController.GetAppTypes)
|
||||
// utils.Post("/notifyuser", f.UtilsController.NotifyUser)
|
||||
// Commented out since the initial commit, which meant every rider push the
|
||||
// admin console has ever sent returned 404 — riders were assigned deliveries
|
||||
// and never told. The handler, the FcmNotification model, the Firebase
|
||||
// service account and the Dockerfile COPY that puts it in the image were all
|
||||
// already in place; only the route was missing.
|
||||
utils.Post("/notifyuser", f.UtilsController.NotifyUser)
|
||||
utils.Get("/getsubcategories", f.UtilsController.GetSubcategories)
|
||||
utils.Get("/getapplocations", f.UtilsController.GetApplocations)
|
||||
utils.Get("/getappcategories", f.UtilsController.GetAppCategory)
|
||||
|
||||
Reference in New Issue
Block a user