fix: smart-home tool syntax error in else branch
All checks were successful
Deploy / deploy (push) Successful in 1m52s
All checks were successful
Deploy / deploy (push) Successful in 1m52s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user