log backups disabled

This commit is contained in:
ammarahm-ed
2020-11-17 15:02:43 +05:00
parent 871bc5c933
commit 45bd5bbf0b

View File

@@ -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");
}
}