Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix issue with required optinal parameters - N8N-3953 #3577

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/nodes-base/nodes/Cockpit/CollectionDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
1 change: 0 additions & 1 deletion packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ export class Freshdesk implements INodeType {
displayName: 'Source',
name: 'source',
type: 'options',
required: true,
options: [
{
name: 'Chat',
Expand Down
2 changes: 0 additions & 2 deletions packages/nodes-base/nodes/Ftp/Ftp.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export class Ftp implements INodeType {
type: 'boolean',
default: false,
description: 'Whether folders can be deleted',
required: true,
},
{
displayName: 'Recursive',
Expand All @@ -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,
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export class GoogleCloudNaturalLanguage implements INodeType {
],
default: 'PLAIN_TEXT',
description: 'The type of input document',
required: true,
},
{
displayName: 'Encoding Type',
Expand Down
4 changes: 0 additions & 4 deletions packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,6 @@ export class GoogleDrive implements INodeType {
value: 'webViewLink',
},
],
required: true,
default: [],
description: 'The fields to return',
},
Expand Down Expand Up @@ -1254,7 +1253,6 @@ export class GoogleDrive implements INodeType {
value: 'webViewLink',
},
],
required: true,
default: [],
description: 'The fields to return',
},
Expand Down Expand Up @@ -1423,7 +1421,6 @@ export class GoogleDrive implements INodeType {
value: 'photos',
},
],
required: true,
default: [],
description: 'The spaces to operate on',
},
Expand Down Expand Up @@ -1463,7 +1460,6 @@ export class GoogleDrive implements INodeType {
description: 'All drives',
},
],
required: true,
default: '',
description: 'The corpora to operate on',
},
Expand Down
1 change: 0 additions & 1 deletion packages/nodes-base/nodes/Hubspot/DealDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ export const dealFields: INodeProperties[] = [
displayName: 'Deal Stage Name or ID',
name: 'stage',
type: 'options',
required: true,
typeOptions: {
loadOptionsMethod: 'getDealStages',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export const activityFields: INodeProperties[] = [
displayName: 'Campaign Name or ID',
name: 'campaignId',
type: 'options',
required: true,
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',
Expand Down
1 change: 0 additions & 1 deletion packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,6 @@ export class Mailchimp implements INodeType {
displayName: 'Status',
name: 'status',
type: 'options',
required: true,
options: [
{
name: 'Cleaned',
Expand Down
1 change: 0 additions & 1 deletion packages/nodes-base/nodes/MongoDb/mongo.node.options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down