Clean up all files

This commit is contained in:
2022-05-13 11:39:07 +08:00
parent 3defcbbdc1
commit 2a3ba29b1d
18 changed files with 68 additions and 88 deletions

View File

@@ -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;
}
}
}
}

View File

@@ -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; }
}
}
}