Log req.body for debug
This commit is contained in:
parent
64633de5ff
commit
b05e60fbcc
@ -21,6 +21,7 @@ exports.getAllIntents = async (req, res) => {
|
|||||||
exports.getIntentCommand = async (req, res) => {
|
exports.getIntentCommand = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const {text, device_id} = req.body;
|
const {text, device_id} = req.body;
|
||||||
|
console.log(req.body);
|
||||||
|
|
||||||
if (!text || !device_id) {
|
if (!text || !device_id) {
|
||||||
return res.status(400).json({
|
return res.status(400).json({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user