mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Minor improvement to AirtableTrigger-Node
This commit is contained in:
@@ -145,6 +145,10 @@ export class AirtableTrigger implements INodeType {
|
||||
webhookData.lastTimeChecked = endDate;
|
||||
|
||||
if (Array.isArray(records) && records.length) {
|
||||
if (this.getMode() === 'manual' && records[0].fields[triggerField] === undefined) {
|
||||
throw new Error(`The Field "${triggerField}" does not exist.`);
|
||||
}
|
||||
|
||||
return [this.helpers.returnJsonArray(records)];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user