From 293b94456268be8759bceee34771357fb94c78ee Mon Sep 17 00:00:00 2001 From: CWX Date: Tue, 28 Jan 2025 19:45:36 +0000 Subject: [PATCH] removed more from launcherV2 --- .../Core/Routers/Static/LauncherV2StaticRouter.cs | 12 ++---------- Server/Logger/WebApplicationLogger.cs | 5 ----- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Libraries/Core/Routers/Static/LauncherV2StaticRouter.cs b/Libraries/Core/Routers/Static/LauncherV2StaticRouter.cs index 475eade1..0ba073b3 100644 --- a/Libraries/Core/Routers/Static/LauncherV2StaticRouter.cs +++ b/Libraries/Core/Routers/Static/LauncherV2StaticRouter.cs @@ -38,7 +38,7 @@ public class LauncherV2StaticRouter : StaticRouter new RouteAction( "/launcher/v2/Remove", (url, info, sessionID, _) => launcherV2Callbacks.Remove(info as LoginRequestData), - typeof(LoginRequestData) + typeof(LoginRequestData) ), new RouteAction( "/launcher/v2/version", @@ -51,15 +51,7 @@ public class LauncherV2StaticRouter : StaticRouter new RouteAction( "/launcher/v2/profiles", (url, _, sessionID, _) => launcherV2Callbacks.Profiles() - ), - new RouteAction( - "/launcher/v2/profile", - (url, _, sessionID, _) => launcherV2Callbacks.Profile() - ), - new RouteAction( - "/launcher/v2/profileMods", - (url, _, sessionID, _) => launcherV2Callbacks.ProfileMods() - ), + ) ] ) { diff --git a/Server/Logger/WebApplicationLogger.cs b/Server/Logger/WebApplicationLogger.cs index ea7ec3d4..4d782663 100644 --- a/Server/Logger/WebApplicationLogger.cs +++ b/Server/Logger/WebApplicationLogger.cs @@ -79,11 +79,6 @@ public class SptWebApplicationLogger : ISptLogger _logger.LogCritical(ex, GetColorizedText(data, LogTextColor.Black, LogBackgroundColor.Red)); } - public void WriteToLogFile(Daum body) - { - throw new NotImplementedException(); - } - public void WriteToLogFile(string data) { //TODO - implement + turn object into json