common: simplify compatibility version

This commit is contained in:
Abdullah Atta
2024-08-07 15:06:58 +05:00
parent e324b588a1
commit dfabfcbc23
3 changed files with 3 additions and 34 deletions
@@ -39,9 +39,9 @@ namespace Streetwriters.Common.Extensions
app.Run(async context =>
{
context.Response.ContentType = "application/json";
var data = new Dictionary<string, string>
var data = new Dictionary<string, object>
{
{ "version", Version.AsString() },
{ "version", Constants.COMPATIBILITY_VERSION },
{ "id", server.Id },
{ "instance", Constants.INSTANCE_NAME }
};