mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
⚡ Fix small issues
This commit is contained in:
parent
8d9555bf52
commit
e419d3ccbe
|
@ -2219,8 +2219,9 @@ export class GoogleDrive implements INodeType {
|
|||
|
||||
qs.fields = queryFields;
|
||||
|
||||
if (updateFields.parentId && updateFields.parentId !== '')
|
||||
qs.addParents = updateFields.parentId;
|
||||
if (updateFields.parentId && updateFields.parentId !== '') {
|
||||
qs.addParents = updateFields.parentId;
|
||||
}
|
||||
|
||||
const responseData = await googleApiRequest.call(this, 'PATCH', `/drive/v3/files/${id}`, {}, qs);
|
||||
returnData.push(responseData as IDataObject);
|
||||
|
|
Loading…
Reference in a new issue