mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import type { IRecord } from './GenericFunctions';
|
||||
import { apiRequestAllItems, downloadRecordAttachments } from './GenericFunctions';
|
||||
|
||||
import moment from 'moment';
|
||||
@@ -245,7 +246,11 @@ export class AirtableTrigger implements INodeType {
|
||||
const downloadFieldNames = (this.getNodeParameter('downloadFieldNames', 0) as string).split(
|
||||
',',
|
||||
);
|
||||
const data = await downloadRecordAttachments.call(this, records, downloadFieldNames);
|
||||
const data = await downloadRecordAttachments.call(
|
||||
this,
|
||||
records as IRecord[],
|
||||
downloadFieldNames,
|
||||
);
|
||||
return [data];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user