mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04: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[] = [];
|
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;
|
||||||
|
|
Loading…
Reference in a new issue