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;