diff --git a/src/Utils/auth-utils.ts b/src/Utils/auth-utils.ts index d1bf44b1..cac70cd4 100644 --- a/src/Utils/auth-utils.ts +++ b/src/Utils/auth-utils.ts @@ -48,7 +48,7 @@ export function makeCacheableSignalKeyStore( const data: { [_: string]: SignalDataTypeMap[typeof type] } = {} const idsToFetch: string[] = [] for (const id of ids) { - const item = cache.get(getUniqueId(type, id)) as any + const item = await cache.get(getUniqueId(type, id)) as any if (typeof item !== 'undefined') { data[id] = item } else {