mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -83,7 +83,7 @@ export async function mediaUploadFromItem(
|
||||
const data = new FormData();
|
||||
data.append('file', await BinaryDataManager.getInstance().retrieveBinaryData(binaryFile), {
|
||||
contentType: mimeType,
|
||||
filename: mediaFileName || binaryFileName,
|
||||
filename: mediaFileName ?? binaryFileName,
|
||||
});
|
||||
data.append('messaging_product', 'whatsapp');
|
||||
|
||||
@@ -105,7 +105,7 @@ export async function mediaUploadFromItem(
|
||||
set(
|
||||
requestOptions.body as IDataObject,
|
||||
`${operation}.filename`,
|
||||
mediaFileName || binaryFileName,
|
||||
mediaFileName ?? binaryFileName,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user