mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
run dotnet format
This commit is contained in:
parent
05989242f9
commit
ac2671452d
278 changed files with 1913 additions and 1808 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue