mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Remove unknown credentials on pasting workflow (#7582)
https://linear.app/n8n/issue/PAY-881
This commit is contained in:
52
cypress/fixtures/workflow-with-unknown-credentials.json
Normal file
52
cypress/fixtures/workflow-with-unknown-credentials.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "123"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "credential",
|
||||
"name": "123",
|
||||
"credentialTypeName": "123"
|
||||
},
|
||||
"id": "a01f79f6-e8c3-44c5-be5e-4bc482e23172",
|
||||
"name": "n8n",
|
||||
"type": "n8n-nodes-base.n8n",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
540,
|
||||
240
|
||||
],
|
||||
"credentials": {
|
||||
"n8nApi": {
|
||||
"id": "10",
|
||||
"name": "n8n account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "acdd1bdc-c642-4ea6-ad67-f4201b640cfa",
|
||||
"name": "When clicking \"Execute Workflow\"",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
300,
|
||||
240
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking \"Execute Workflow\"": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "n8n",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user