More debug

This commit is contained in:
Apher 2026-06-28 23:52:01 +00:00
parent 2c0225b34d
commit e6b9ad9262

View File

@ -21,7 +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); console.log(req.body, text, device_id);
if (!text || !device_id) { if (!text || !device_id) {
return res.status(400).json({ return res.status(400).json({