Return null for missing cached items in AccountStorage

This commit is contained in:
kwaroran
2024-11-16 20:54:33 +09:00
parent 05135c8bf0
commit 1778871dc2

View File

@@ -120,6 +120,9 @@ export class AccountStorage{
const c = Buffer.from(await cachedForage.getItem(key))
return c
}
else{
return null
}
}
if(da.status < 200 || da.status >= 300){