Expose git version in 'pk;stats' and '/v1/meta'

This commit is contained in:
spiral 2021-08-01 15:22:23 -04:00
parent dcc15dc847
commit 1cb4bc9287
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
9 changed files with 54 additions and 5 deletions

View file

@ -32,6 +32,7 @@ namespace PluralKit.API
var o = new JObject();
o.Add("shards", shards.ToJSON());
o.Add("version", BuildInfoService.Version);
return Ok(o);
}