This commit is contained in:
Quan HL
2024-06-14 10:16:57 +07:00
parent c4feac916f
commit 2642bd71a4

View File

@@ -8,7 +8,7 @@ async function getAwsAuthToken(
{accessKeyId, secretAccessKey, region, RoleArn}) {
logger = logger || noopLogger;
try {
const key = makeAwsKey(roleArn || accessKeyId);
const key = makeAwsKey(RoleArn || accessKeyId);
const obj = await retrieveHash(key);
if (obj) return {...obj, servedFromCache: true};