From 9045699e5d1f8ff9131a665f9ee57179ff90b37e Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sun, 13 Feb 2022 19:05:09 +0100 Subject: [PATCH] :bug: Fix getParentTypes bug which caused problems with OAuth --- packages/cli/src/CredentialsHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/CredentialsHelper.ts b/packages/cli/src/CredentialsHelper.ts index 8dcb63d5be..a0b52c680f 100644 --- a/packages/cli/src/CredentialsHelper.ts +++ b/packages/cli/src/CredentialsHelper.ts @@ -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;