From 9cf36a6f6c78dae23489da6214144a40f0d393b6 Mon Sep 17 00:00:00 2001 From: Benson Arafat Date: Mon, 16 Oct 2023 19:24:22 +0100 Subject: [PATCH] Update All State Route --- src/routes/v1/userRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v1/userRoutes.js b/src/routes/v1/userRoutes.js index bd8674d..adf10cd 100644 --- a/src/routes/v1/userRoutes.js +++ b/src/routes/v1/userRoutes.js @@ -48,7 +48,7 @@ module.exports = (app) => { ]) // Main routes - app.post("/api/all-state", [ + app.get("/api/all-state", [ controller.mainController.all ]) app.post("/api/add-state", [