From ae0efa54d58190a19db5ec79eaa0174b543d5013 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 25 Sep 2025 22:46:30 -0300 Subject: [PATCH] fix makeCacheableSignalKeyStore await cache get (#1817) Co-authored-by: Henrique Dias --- src/Utils/auth-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {