From 2b9a6ab7b2a847c9280962a7cf4e91f37662e3a5 Mon Sep 17 00:00:00 2001 From: CWX Date: Sat, 8 Feb 2025 13:09:56 +0000 Subject: [PATCH] Fix build errors --- Libraries/Core/Utils/App.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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());