mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 20:29:08 +00:00
perf(tooling): Upgrade to TypeScript 4.8 (#4207)
* ⬆️ Upgrade to TypeScript 4.8 * 🔥 Remove unneeded setting * 📦 Update `package-lock.json` * ⏪ Restore `skipLibCheck` * 📦 Re-update `package-lock.json` * ♻️ Apply feedback * ♻️ Add check to new WhatsApp node * 📦 Update `package-lock.json` * Update package-lock.json * ran `npm run lintfix` Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -51,7 +51,9 @@ export async function upload(this: IExecuteFunctions, index: number) {
|
||||
resolveWithFullResponse: true,
|
||||
};
|
||||
|
||||
Object.assign(body.formData, share ? { share: 'yes' } : { share: 'no' });
|
||||
if (body.formData) {
|
||||
Object.assign(body.formData, share ? { share: 'yes' } : { share: 'no' });
|
||||
}
|
||||
|
||||
//endpoint
|
||||
const endpoint = `files`;
|
||||
|
||||
Reference in New Issue
Block a user