fix: smart-home tool syntax error in else branch
All checks were successful
Deploy / deploy (push) Successful in 1m52s

This commit is contained in:
Cosmo
2026-05-01 07:00:01 +00:00
parent 89d8140014
commit ae7edbe6ed

View File

@@ -69,7 +69,7 @@ const controlAirPurifier: VoiceTool = {
preset_mode: mode,
}
} else {
return { error: }
return { error: `unknown action: ${action}` }
}
await tabletJson('POST', '/api/voice/tools/smart-home', payload)