Update util.ts
This commit is contained in:
@@ -66,9 +66,9 @@ export const performAwsIamLogin = async (baseUrl: string, identityId: string, re
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
let host = signOpts.host;
|
let host = (signOpts as any)["Host"];
|
||||||
if (signOpts.host) {
|
if (signOpts as any["Host"]) {
|
||||||
host = `${signOpts.host.replace(".sts", `.sts.${region}.`)}`;
|
host = `${(signOpts as any)["Host"].replace(".sts", `.sts.${region}.`)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(signOpts);
|
console.log(signOpts);
|
||||||
|
|||||||
Reference in New Issue
Block a user