Use correct console logging

This commit is contained in:
Apher 2026-07-01 18:32:04 +00:00
parent eaad87dd05
commit 38fe4eb39f

View File

@ -37,7 +37,7 @@ exports.getIntentCommand = async (req, res) => {
const intents = await Intent.findAll(); const intents = await Intent.findAll();
const intent = intents.find(obj => obj.description === text); const intent = intents.find(obj => obj.description === text);
print(intent, config.DEVICE_ID); console.log(intent, config.DEVICE_ID);
if (intent) { if (intent) {
const commandId = await redis.client.xAdd( const commandId = await redis.client.xAdd(