mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
wip
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user