[fix] saving error

This commit is contained in:
kwaroran
2023-12-29 00:01:20 +09:00
parent 3f1e9777b1
commit 76b903c927

View File

@@ -80,6 +80,7 @@ export async function autoServerBackup(){
let lastKeiSave = 0
export async function saveDbKei() {
try{
let db = get(DataBase)
if(db.account.kei){
if(Date.now() - lastKeiSave < 60000 * 5){
@@ -97,4 +98,6 @@ export async function saveDbKei() {
})
})
}
}
catch(e){}
}