Log req.body for debug

This commit is contained in:
Apher 2026-06-28 22:24:59 +00:00
parent 64633de5ff
commit b05e60fbcc

View File

@ -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({