🐛 Fix getParentTypes bug which caused problems with OAuth

This commit is contained in:
Jan Oberhauser 2022-02-13 19:05:09 +01:00
parent e683114765
commit 9045699e5d

View file

@ -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;