This commit is contained in:
2021-03-03 17:37:10 +00:00
parent 138e088544
commit f3620db833
2 changed files with 16 additions and 4 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; }
public util()
@@ -120,6 +120,9 @@ namespace AyaNova.PlugIn.V8
return false;
}
a = await GetAsync("server-state/");
ServerState = a.ObjectResponse["data"]["serverState"].Value<string>();
return true;
}
@@ -129,7 +132,7 @@ namespace AyaNova.PlugIn.V8
}