Change route to post
This commit is contained in:
parent
b8af1b716d
commit
64633de5ff
@ -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;
|
||||
Loading…
Reference in New Issue
Block a user