feat(apiv2): reorganize controllers, add stats to meta endpoint

This commit is contained in:
spiral
2021-10-15 07:08:41 -04:00
parent 8fe688e4aa
commit 2bf1617737
6 changed files with 68 additions and 58 deletions

View File

@@ -28,7 +28,7 @@ namespace PluralKit.API
public async Task<ActionResult<JObject>> GetMeta()
{
await using var conn = await _db.Obtain();
var shards = await _repo.GetShards(conn);
var shards = await _repo.GetShards();
var o = new JObject();
o.Add("shards", shards.ToJSON());