mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix getParentTypes bug which caused problems with OAuth
This commit is contained in:
@@ -206,7 +206,7 @@ export class CredentialsHelper extends ICredentialsHelper {
|
|||||||
|
|
||||||
let types: string[] = [];
|
let types: string[] = [];
|
||||||
credentialType.extends.forEach((type: string) => {
|
credentialType.extends.forEach((type: string) => {
|
||||||
types = [...types, typeName, ...this.getParentTypes(type)];
|
types = [...types, type, ...this.getParentTypes(type)];
|
||||||
});
|
});
|
||||||
|
|
||||||
return types;
|
return types;
|
||||||
|
|||||||
Reference in New Issue
Block a user