Backup fix

This commit is contained in:
Michał Zieliński
2023-09-01 18:39:13 +02:00
parent 095fc10ac8
commit 7196b27502
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ namespace WebAPI.Controllers
command.Parameters.AddWithValue("@formatMediaName", formatMediaName);
command.Parameters.AddWithValue("@formatName", formatName);
// command.ExecuteNonQuery();
command.ExecuteNonQuery();
Google.Apis.Drive.v3.Data.File body = new Google.Apis.Drive.v3.Data.File();
body.Name = Path.GetFileName(localDatabasePath);

View File

@@ -16,8 +16,8 @@
"exportDirectory": "#{export-directory}#",
"appLogsFile": "#{app-logs-file}#",
"apiLocalUrl": "#{api-local-url}#",
"dbBackupFile": "#{db-backup-file}",
"GDriveBackupDirectory": "#{gdrive-backup-directory}",
"dbBackupFile": "#{db-backup-file}#",
"GDriveBackupDirectory": "#{gdrive-backup-directory}#",
"Kestrel": {
"Endpoints": {
"Http": {