mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -441,7 +441,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
const fileName = responseData.download_url.split('/').pop();
|
||||
const binaryData = await this.helpers.prepareBinaryData(
|
||||
data,
|
||||
options.fileName || fileName,
|
||||
options.fileName ?? fileName,
|
||||
);
|
||||
responseData = {
|
||||
json: responseData,
|
||||
@@ -525,7 +525,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
const fileName = responseData.download_url.split('/').pop();
|
||||
const binaryData = await this.helpers.prepareBinaryData(
|
||||
imageData,
|
||||
options.fileName || fileName,
|
||||
options.fileName ?? fileName,
|
||||
);
|
||||
responseData = {
|
||||
json: responseData,
|
||||
|
||||
Reference in New Issue
Block a user