Resharper cleanup and fixes and remove useless asp overhead
This commit is contained in:
parent
e0d6a97dca
commit
acb2b25e09
44 changed files with 54 additions and 81 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue