Fix small issues

This commit is contained in:
Jan Oberhauser 2021-03-12 11:51:35 +01:00
parent 8d9555bf52
commit e419d3ccbe

View file

@ -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);