mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(apiv2): reorganize controllers, add stats to meta endpoint
This commit is contained in:
parent
8fe688e4aa
commit
2bf1617737
6 changed files with 68 additions and 58 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue