fix
This commit is contained in:
parent
4b94f783b4
commit
b8064504d6
|
|
@ -256,12 +256,12 @@ export const fetchLinkParams = async (
|
|||
return await Promise.all(
|
||||
parsed.map(async (e) => {
|
||||
if (link_cache[e]) {
|
||||
return link_cache[e];
|
||||
return link_cache[e] as LinkParam;
|
||||
}
|
||||
|
||||
const result = await api._kv("get", e);
|
||||
link_cache[e] = result;
|
||||
return result;
|
||||
return result as unknown as LinkParam;
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue