mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-22 20:09:46 +08:00
Clean up all files
This commit is contained in:
@@ -7,12 +7,10 @@ namespace GrasscutterTools.DispatchServer
|
||||
{
|
||||
public static class DispatchServerAPI
|
||||
{
|
||||
|
||||
public static async Task<ServerStatus> QueryServerStatus(string host)
|
||||
{
|
||||
var response = await HttpHelper.GetAsync<ServerStatusResponse>(host + "/status/server");
|
||||
return response?.Status;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace GrasscutterTools.DispatchServer.Model
|
||||
{
|
||||
@@ -20,4 +19,4 @@ namespace GrasscutterTools.DispatchServer.Model
|
||||
[JsonProperty("status")]
|
||||
public ServerStatus Status { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user