mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix Clockify Trigger bug (#1778)
* Fix the empty results bug * Fix return value
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user