mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
6985500a7d
* feat(core): Fix populating of node custom api call options * lint fixes * Adress PR comments * Add e2e test and only inject custom API options for latest version * Make sure to injectCustomApiCallOption for the latest version of node * feat(cli): Move apiCallOption injection to LoadNodesAndCredentials and add e2e tests to check for custom nodes credentials * Load nodes and credentials fixtures from a single place * Console warning if credential is invalid during customApiOptions injection
20 lines
325 B
JSON
20 lines
325 B
JSON
{
|
|
"name": "customE2eCredential",
|
|
"displayName": "Custom E2E Credential",
|
|
"properties": [{
|
|
"displayName": "API Key",
|
|
"name": "apiKey",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": false
|
|
}],
|
|
"authenticate": {
|
|
"type": "generic",
|
|
"properties": {
|
|
"qs": {
|
|
"auth": "={{$credentials.apiKey}}"
|
|
}
|
|
}
|
|
}
|
|
}
|