Skip to content

Commit 732b399

Browse files
committed
fix: undefined check
1 parent bcfdaa3 commit 732b399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/token-providers/src/getSsoOidcClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const getSsoOidcClient = async (ssoRegion: string, init: FromSsoInit = {}
1010

1111
const ssoOidcClient = new SSOOIDCClient(
1212
Object.assign({}, init.clientConfig ?? {}, {
13-
region: ssoRegion ?? init.clientConfig.region,
13+
region: ssoRegion ?? init.clientConfig?.region,
1414
logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger,
1515
})
1616
);

0 commit comments

Comments
 (0)