run dotnet format
This commit is contained in:
@@ -13,8 +13,8 @@ namespace PluralKit.API
|
||||
{
|
||||
[ApiController]
|
||||
[ApiVersion("1.0")]
|
||||
[Route( "v{version:apiVersion}" )]
|
||||
public class MetaController : ControllerBase
|
||||
[Route("v{version:apiVersion}")]
|
||||
public class MetaController: ControllerBase
|
||||
{
|
||||
private readonly IDatabase _db;
|
||||
private readonly ModelRepository _repo;
|
||||
@@ -33,7 +33,7 @@ namespace PluralKit.API
|
||||
var o = new JObject();
|
||||
o.Add("shards", shards.ToJSON());
|
||||
o.Add("version", BuildInfoService.Version);
|
||||
|
||||
|
||||
return Ok(o);
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ namespace PluralKit.API
|
||||
s.Add("status", "down");
|
||||
else
|
||||
s.Add("status", "up");
|
||||
|
||||
|
||||
s.Add("ping", shard.Ping);
|
||||
s.Add("last_heartbeat", shard.LastHeartbeat.ToString());
|
||||
s.Add("last_connection", shard.LastConnection.ToString());
|
||||
|
||||
Reference in New Issue
Block a user