[fix] saving error
This commit is contained in:
@@ -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){}
|
||||
}
|
||||
Reference in New Issue
Block a user