mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
* ✨ Endpoint to preset credentials
* ✨ Endpoint to preset credentials * ⚡ Improvements * 🐛 Small fix * 🐛 Small fix
This commit is contained in:
@@ -20,7 +20,7 @@ class CredentialsOverwritesClass {
|
||||
return;
|
||||
}
|
||||
|
||||
const data = await GenericHelpers.getConfigValue('credentials.overwrite') as string;
|
||||
const data = await GenericHelpers.getConfigValue('credentials.overwrite.data') as string;
|
||||
|
||||
try {
|
||||
this.overwriteData = JSON.parse(data);
|
||||
@@ -30,6 +30,7 @@ class CredentialsOverwritesClass {
|
||||
}
|
||||
|
||||
applyOverwrite(type: string, data: ICredentialDataDecryptedObject) {
|
||||
|
||||
const overwrites = this.get(type);
|
||||
|
||||
if (overwrites === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user