From 45215e80bdc8df1fc515ec7d31dbcc046c3fa977 Mon Sep 17 00:00:00 2001 From: Emotion Date: Thu, 3 Aug 2023 00:36:08 +1200 Subject: [PATCH] Fixed Config.cs --- Valkyrie/Config.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Valkyrie/Config.cs b/Valkyrie/Config.cs index 25d693d..4456b4e 100644 --- a/Valkyrie/Config.cs +++ b/Valkyrie/Config.cs @@ -30,8 +30,8 @@ internal static class Config internal static string hostName = "127.0.0.1"; internal static int port = 3306; - internal static string database = "akheemah"; - internal static string username = "akheemah"; + internal static string database = "valkyrie"; + internal static string username = "valkyrie"; internal static string password = ""; public static void LoadConfig() @@ -88,8 +88,8 @@ internal static class Config // Reads database info hostName = json.SelectToken("database.address")?.Value() ?? ""; port = json.SelectToken("database.port")?.Value() ?? 3306; - database = json.SelectToken("database.name")?.Value() ?? "akheemah"; - username = json.SelectToken("database.user")?.Value() ?? "akheemah"; + database = json.SelectToken("database.name")?.Value() ?? "valkyrie"; + username = json.SelectToken("database.user")?.Value() ?? "valkyrie"; password = json.SelectToken("database.password")?.Value() ?? ""; } } \ No newline at end of file