Change route to post

This commit is contained in:
Apher 2026-06-28 21:56:29 +00:00
parent b8af1b716d
commit 64633de5ff

View File

@ -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;