fix makeCacheableSignalKeyStore await cache get (#1817)

Co-authored-by: Henrique Dias <dias.dsn.cir@alterdata.com.br>
This commit is contained in:
Henrique Dias
2025-09-25 22:46:30 -03:00
committed by GitHub
parent 3b46d43beb
commit ae0efa54d5
+1 -1
View File
@@ -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<SignalDataTypeMap[typeof type]>(getUniqueId(type, id)) as any
const item = await cache.get<SignalDataTypeMap[typeof type]>(getUniqueId(type, id)) as any
if (typeof item !== 'undefined') {
data[id] = item
} else {