fix(next-cloud-node): Fix issue with credential verification and sharing file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
import { IBinaryKeyData, NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
@@ -1139,7 +1139,7 @@ export class NextCloud implements INodeType {
|
||||
// Create a shallow copy of the binary data so that the old
|
||||
// data references which do not get changed still stay behind
|
||||
// but the incoming data does not get changed.
|
||||
Object.assign(newItem.binary, items[i].binary);
|
||||
Object.assign(newItem.binary as IBinaryKeyData, items[i].binary);
|
||||
}
|
||||
|
||||
items[i] = newItem;
|
||||
|
||||
Reference in New Issue
Block a user