Add route to get intent command
This commit is contained in:
parent
bbeb518e66
commit
b8af1b716d
@ -15,4 +15,7 @@ const controller = require("../controllers/intent.controller");
|
|||||||
// Get all intents
|
// Get all intents
|
||||||
router.get("/", /*[authJwt.verifyToken, authJwt.isAdmin],*/ controller.getAllIntents);
|
router.get("/", /*[authJwt.verifyToken, authJwt.isAdmin],*/ controller.getAllIntents);
|
||||||
|
|
||||||
|
// Get intent command (for now by description)
|
||||||
|
router.get("/getintentcommand", controller.getIntentCommand);
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
Loading…
Reference in New Issue
Block a user