mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
🐛 Fix getParentTypes bug which caused problems with OAuth
This commit is contained in:
parent
e683114765
commit
9045699e5d
|
@ -206,7 +206,7 @@ export class CredentialsHelper extends ICredentialsHelper {
|
|||
|
||||
let types: string[] = [];
|
||||
credentialType.extends.forEach((type: string) => {
|
||||
types = [...types, typeName, ...this.getParentTypes(type)];
|
||||
types = [...types, type, ...this.getParentTypes(type)];
|
||||
});
|
||||
|
||||
return types;
|
||||
|
|
Loading…
Reference in a new issue