diff --git a/Libraries/Core/Utils/App.cs b/Libraries/Core/Utils/App.cs index fa0062f8..a532ce16 100644 --- a/Libraries/Core/Utils/App.cs +++ b/Libraries/Core/Utils/App.cs @@ -22,7 +22,7 @@ public class App protected ISptLogger _logger; protected IEnumerable _onLoad; - protected IEnumerable _onUpdate; + protected IEnumerable _onUpdate; protected Dictionary _onUpdateLastRun = new(); protected Timer _timer; protected TimeUtil _timeUtil; @@ -37,7 +37,7 @@ public class App HttpServer httpServer, DatabaseService databaseService, IEnumerable onLoadComponents, - IEnumerable onUpdateComponents + IEnumerable onUpdateComponents ) { _logger = logger; @@ -100,7 +100,7 @@ public class App return _localisationService.GetText("server_start_success"); } - protected void Update(IEnumerable onUpdateComponents) + protected void Update(IEnumerable onUpdateComponents) { try { @@ -155,7 +155,7 @@ public class App } } - protected void LogUpdateException(Exception err, OnUpdate updateable) + protected void LogUpdateException(Exception err, IOnUpdate updateable) { _logger.Error(_localisationService.GetText("scheduled_event_failed_to_run", updateable.GetRoute())); _logger.Error(err.ToString());