mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -221,9 +221,11 @@ export class Mindee implements INodeType {
|
||||
}
|
||||
if (!rawData) {
|
||||
if (version === 1) {
|
||||
responseData = cleanDataPreviousApiVersions(responseData.predictions);
|
||||
responseData = cleanDataPreviousApiVersions(
|
||||
responseData.predictions as IDataObject[],
|
||||
);
|
||||
} else if (version === 3) {
|
||||
responseData = cleanData(responseData.document);
|
||||
responseData = cleanData(responseData.document as IDataObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -295,9 +297,11 @@ export class Mindee implements INodeType {
|
||||
}
|
||||
if (!rawData) {
|
||||
if (version === 1) {
|
||||
responseData = cleanDataPreviousApiVersions(responseData.predictions);
|
||||
responseData = cleanDataPreviousApiVersions(
|
||||
responseData.predictions as IDataObject[],
|
||||
);
|
||||
} else if (version === 3) {
|
||||
responseData = cleanData(responseData.document);
|
||||
responseData = cleanData(responseData.document as IDataObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user