mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐛 Fix parsing response issue when uploading file (Dropbox) (#1502)
This commit is contained in:
parent
79aab5c692
commit
f0a83e5ca5
|
@ -522,9 +522,9 @@ export class Dropbox implements INodeType {
|
|||
|
||||
endpoint = 'https://content.dropboxapi.com/2/files/upload';
|
||||
|
||||
if (this.getNodeParameter('binaryData', i) === true) {
|
||||
options = { json: false };
|
||||
|
||||
options = { json: false };
|
||||
if (this.getNodeParameter('binaryData', i) === true) {
|
||||
|
||||
// Is binary file to upload
|
||||
const item = items[i];
|
||||
|
|
Loading…
Reference in a new issue