Rename parameter to be consistent

This commit is contained in:
Jan Oberhauser 2021-08-11 19:48:31 +02:00
parent 8998423934
commit 5ad9a29fa4

View file

@ -780,6 +780,13 @@ export class GoogleDrive implements INodeType {
},
},
options: [
{
displayName: 'File Name',
name: 'fileName',
type: 'string',
default: '',
description: `The name of the file`,
},
{
displayName: 'Keep Revision Forever',
name: 'keepRevisionForever',
@ -789,13 +796,6 @@ export class GoogleDrive implements INodeType {
his is only applicable to files with binary content in Google Drive.</br>
Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions.`,
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: `The name of the file`,
},
{
displayName: 'OCR Language',
name: 'ocrLanguage',
@ -2365,8 +2365,8 @@ export class GoogleDrive implements INodeType {
const body: IDataObject = {};
if (updateFields.name) {
body.name = updateFields.name;
if (updateFields.fileName) {
body.name = updateFields.fileName;
}
if (updateFields.parentId && updateFields.parentId !== '') {