mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
fix: Fix issue with required optional parameters (#3577)
This commit is contained in:
parent
891844ea8b
commit
42d2959f47
|
@ -147,7 +147,6 @@ export const collectionFields: INodeProperties[] = [
|
|||
displayName: 'Populate',
|
||||
name: 'populate',
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: true,
|
||||
description: 'Whether to resolve linked collection items',
|
||||
},
|
||||
|
|
|
@ -795,7 +795,6 @@ export class Freshdesk implements INodeType {
|
|||
displayName: 'Source',
|
||||
name: 'source',
|
||||
type: 'options',
|
||||
required: true,
|
||||
options: [
|
||||
{
|
||||
name: 'Chat',
|
||||
|
|
|
@ -167,7 +167,6 @@ export class Ftp implements INodeType {
|
|||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether folders can be deleted',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Recursive',
|
||||
|
@ -182,7 +181,6 @@ export class Ftp implements INodeType {
|
|||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to remove all files and directories in target directory',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -508,7 +508,6 @@ export const webinarFields: INodeProperties[] = [
|
|||
displayName: 'Timezone Name or ID',
|
||||
name: 'timezone',
|
||||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '2020-12-11T09:00:00Z',
|
||||
description: 'Timezone where the webinar is to take place. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
|
|
|
@ -167,7 +167,6 @@ export class GoogleCloudNaturalLanguage implements INodeType {
|
|||
],
|
||||
default: 'PLAIN_TEXT',
|
||||
description: 'The type of input document',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Encoding Type',
|
||||
|
|
|
@ -1020,7 +1020,6 @@ export class GoogleDrive implements INodeType {
|
|||
value: 'webViewLink',
|
||||
},
|
||||
],
|
||||
required: true,
|
||||
default: [],
|
||||
description: 'The fields to return',
|
||||
},
|
||||
|
@ -1254,7 +1253,6 @@ export class GoogleDrive implements INodeType {
|
|||
value: 'webViewLink',
|
||||
},
|
||||
],
|
||||
required: true,
|
||||
default: [],
|
||||
description: 'The fields to return',
|
||||
},
|
||||
|
@ -1423,7 +1421,6 @@ export class GoogleDrive implements INodeType {
|
|||
value: 'photos',
|
||||
},
|
||||
],
|
||||
required: true,
|
||||
default: [],
|
||||
description: 'The spaces to operate on',
|
||||
},
|
||||
|
@ -1463,7 +1460,6 @@ export class GoogleDrive implements INodeType {
|
|||
description: 'All drives',
|
||||
},
|
||||
],
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The corpora to operate on',
|
||||
},
|
||||
|
|
|
@ -302,7 +302,6 @@ export const dealFields: INodeProperties[] = [
|
|||
displayName: 'Deal Stage Name or ID',
|
||||
name: 'stage',
|
||||
type: 'options',
|
||||
required: true,
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getDealStages',
|
||||
},
|
||||
|
|
|
@ -91,7 +91,6 @@ export const activityFields: INodeProperties[] = [
|
|||
displayName: 'Campaign Name or ID',
|
||||
name: 'campaignId',
|
||||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCampaigns',
|
||||
|
|
|
@ -1221,7 +1221,6 @@ export class Mailchimp implements INodeType {
|
|||
displayName: 'Status',
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
required: true,
|
||||
options: [
|
||||
{
|
||||
name: 'Cleaned',
|
||||
|
|
|
@ -159,7 +159,6 @@ export const nodeDescription: INodeTypeDescription = {
|
|||
},
|
||||
default: '{}',
|
||||
placeholder: '{ "field": -1 }',
|
||||
required: true,
|
||||
description: 'A JSON that defines the sort order of the result set',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue