Updated the backend and select enabled

This commit is contained in:
Mosiur Rahman
2025-01-03 01:37:01 +06:00
committed by mosiur rahman
parent 50a7a1b143
commit 057e71a38c
4 changed files with 15 additions and 10 deletions

View File

@@ -24,7 +24,8 @@ interface IBackup {
projectName: string,
projectURL: string,
volumeName: string,
volumeURL: string
volumeURL: string,
day: string
}
interface IUpdate {
@@ -50,7 +51,8 @@ const backupSchema = new mongoose.Schema<IBackup>({
projectName: String,
projectURL: String,
volumeName: String,
volumeURL: String
volumeURL: String,
day:
},
{
toJSON: { virtuals: true },