This commit is contained in:
Manav Rathi
2024-04-12 20:59:15 +05:30
parent a56cf55ffa
commit 871a0e83cf

View File

@@ -77,7 +77,7 @@ export interface EnteCache {
* across namespaces.
*/
export const openCache = async (name: CacheName) =>
globalThis.electron ? openWebCache(name) : openOPFSCacheWeb(name);
globalThis.electron ? openOPFSCacheWeb(name) : openWebCache(name);
/** An implementation of {@link EnteCache} using Web Cache APIs */
const openWebCache = async (name: CacheName) => {