mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: move backup time forward when it is skipped
This commit is contained in:
@@ -42,6 +42,9 @@ export default class Backup {
|
||||
return this._db.storage.read("lastBackupTime");
|
||||
}
|
||||
|
||||
async updateBackupTime() {
|
||||
await this._db.storage.write("lastBackupTime", Date.now());
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @param {"web"|"mobile"|"node"} type
|
||||
|
||||
Reference in New Issue
Block a user