mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24: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;
|
qs.fields = queryFields;
|
||||||
|
|
||||||
if (updateFields.parentId && updateFields.parentId !== '')
|
if (updateFields.parentId && updateFields.parentId !== '') {
|
||||||
qs.addParents = updateFields.parentId;
|
qs.addParents = updateFields.parentId;
|
||||||
|
}
|
||||||
|
|
||||||
const responseData = await googleApiRequest.call(this, 'PATCH', `/drive/v3/files/${id}`, {}, qs);
|
const responseData = await googleApiRequest.call(this, 'PATCH', `/drive/v3/files/${id}`, {}, qs);
|
||||||
returnData.push(responseData as IDataObject);
|
returnData.push(responseData as IDataObject);
|
||||||
|
|
Loading…
Reference in a new issue