mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
log backups disabled
This commit is contained in:
@@ -64,12 +64,14 @@ async function checkBackupRequired(type) {
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
} else if (type === "weekly") {
|
||||
if (lastBackupDate + MS_WEEK < now) {
|
||||
return true;
|
||||
} else {
|
||||
false;
|
||||
}
|
||||
} else {
|
||||
console.log("Backups are disabled");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user