diff --git a/routes/utilsroutes.go b/routes/utilsroutes.go index fe20429..5ebeaa1 100644 --- a/routes/utilsroutes.go +++ b/routes/utilsroutes.go @@ -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)