chore: lint

This commit is contained in:
spiral
2022-06-10 18:49:36 -04:00
parent 58a9206d5c
commit 1c9a68cb53
5 changed files with 7 additions and 7 deletions

View File

@@ -136,7 +136,7 @@ public class Startup
app.UseEndpoints(endpoints =>
{
// register base / legacy routes
endpoints.MapMethods("", new string[] { }, (context) => { context.Response.Redirect("https://pluralkit.me/api"); return Task.CompletedTask;});
endpoints.MapMethods("", new string[] { }, (context) => { context.Response.Redirect("https://pluralkit.me/api"); return Task.CompletedTask; });
endpoints.MapMethods("v1/{*_}", new string[] { }, (context) => context.Response.WriteJSON(410, "{\"message\":\"Unsupported API version\",\"code\":0}"));
// register controllers