Resharper cleanup and fixes and remove useless asp overhead

This commit is contained in:
runebaas 2018-05-15 01:18:26 +02:00
parent e0d6a97dca
commit acb2b25e09
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
44 changed files with 54 additions and 81 deletions

View file

@ -1,4 +1,5 @@
using Geekbot.net.Lib;
using System.Globalization;
using Geekbot.net.Lib;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
@ -13,7 +14,7 @@ namespace Geekbot.net.WebApi.Controllers.Status
var responseBody = new ApiStatusDto
{
GeekbotVersion = Constants.BotVersion(),
ApiVersion = Constants.ApiVersion.ToString(),
ApiVersion = Constants.ApiVersion.ToString(CultureInfo.InvariantCulture),
Status = "Online"
};
return Ok(responseBody);