Return null for missing cached items in AccountStorage
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user