Skip to content

Commit

Permalink
👕 Apply node-param-option-name-wrong-for-upsert (#3446)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored Jun 3, 2022
1 parent d706e93 commit 5246588
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ module.exports = {
'n8n-nodes-base/node-param-type-options-missing-from-limit': 'error',
'n8n-nodes-base/node-param-placeholder-miscased-id': 'error',
'n8n-nodes-base/node-param-description-miscased-url': 'error',
'n8n-nodes-base/node-param-option-name-wrong-for-upsert': 'error',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Autopilot/ContactDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const contactOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new contact, or update the current one if it already exists (upsert)',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const customerOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new customer, or update the current one if it already exists (upsert)',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const documentOperations: INodeProperties[] = [
description: 'Create a document',
},
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new document, or update the current one if it already exists (upsert)',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const stateOperations: INodeProperties[] = [
},
options: [
{
name: 'Create or update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new record, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Hubspot/ContactDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const contactOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new contact, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Iterable/UserDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const userOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new user, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Keap/ContactDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const contactOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new contact, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Orbit/MemberDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const memberOperations: INodeProperties[] = [
description: 'Update a member',
},
{
name: 'Upsert',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new member, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/QuickBase/RecordDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const recordOperations: INodeProperties[] = [
description: 'Update a record',
},
{
name: 'Upsert',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new record, or update the current one if it already exists (upsert)',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/SendGrid/ContactDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const contactOperations: INodeProperties[] = [
},
options: [
{
name: 'Create/Update',
name: 'Create or Update',
value: 'upsert',
description: 'Create a new contact, or update the current one if it already exists (upsert)',
},
Expand Down

0 comments on commit 5246588

Please sign in to comment.