Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Missing refactor variable

Joseph Milazzo0d8c0651a95f
diff --git a/API/Services/TaskScheduler.cs b/API/Services/TaskScheduler.cs
index 7a2b52fd8..1eba033dd 100644
--- a/API/Services/TaskScheduler.cs
+++ b/API/Services/TaskScheduler.cs
@@ -58,7 +58,7 @@ namespace API.Services
if (setting != null)
{
_logger.LogDebug("Scheduling Backup Task for {Cron}", setting);
- RecurringJob.AddOrUpdate(() => _backupService.BackupDatabase(), () => CronConverter.ConvertToCronNotation(setting2));
+ RecurringJob.AddOrUpdate(() => _backupService.BackupDatabase(), () => CronConverter.ConvertToCronNotation(setting));
}
else
{