This commit is contained in:
2021-08-16 23:00:05 +00:00
parent 8f908a41be
commit b8d1e82a04
2 changed files with 19 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ namespace AyaNova.PlugIn.V8
internal static string ApiBaseUrl { get; set; }
internal static string JWT { get; set; }
// public static bool Initialized { get; set; }
internal static string ServerState { get; set; }
// internal static string ServerState { get; set; }
//public util()
@@ -103,9 +103,7 @@ namespace AyaNova.PlugIn.V8
return false;
}
a = await GetAsync("server-state/");
ServerState = a.ObjectResponse["data"]["serverState"].Value<string>();
return true;
}