mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
🐛 Fix Clockify Trigger bug (#1778)
* Fix the empty results bug * Fix return value
This commit is contained in:
parent
c739a498f1
commit
6460ce3965
|
@ -117,8 +117,8 @@ export class ClockifyTrigger implements INodeType {
|
|||
webhookData.lastTimeChecked = qs.end;
|
||||
|
||||
if (Array.isArray(result) && result.length !== 0) {
|
||||
result = [this.helpers.returnJsonArray(result)];
|
||||
return [ this.helpers.returnJsonArray(result) ];
|
||||
}
|
||||
return result;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue