Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 730 Bytes

node-param-option-name-wrong-for-upsert.md

File metadata and controls

34 lines (23 loc) · 730 Bytes

node-param-option-name-wrong-for-upsert

Option name for Upsert node parameter must be Create or Update.

📋 This rule is part of the plugin:n8n-nodes-base/nodes config.

🔧 Run ESLint with --fix option to autofix the issue flagged by this rule.

Examples

❌ Example of incorrect code:

const test = {
	name: "Insert or Create",
	value: "upsert",
};

✅ Example of correct code:

const test = {
	name: "Create or Update",
	value: "upsert",
};

Links