diff --git a/src/routes/intent.routes.js b/src/routes/intent.routes.js index fadf107..142732c 100644 --- a/src/routes/intent.routes.js +++ b/src/routes/intent.routes.js @@ -16,6 +16,6 @@ const controller = require("../controllers/intent.controller"); router.get("/", /*[authJwt.verifyToken, authJwt.isAdmin],*/ controller.getAllIntents); // Get intent command (for now by description) -router.get("/getintentcommand", controller.getIntentCommand); +router.post("/getintentcommand", controller.getIntentCommand); module.exports = router; \ No newline at end of file