aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers/ErrorController.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 08:01:43 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 08:01:43 +0200
commit443173ac8937546a2232f1cb01fa58234183164a (patch)
treee15f2615c11ba21405dc7324e6668eb4fcae1aae /API/Controllers/ErrorController.cs
parentedefd4a53ad8bb5318e8c6fc347f04ef3ac2886c (diff)
downloadDevHive-443173ac8937546a2232f1cb01fa58234183164a.tar
DevHive-443173ac8937546a2232f1cb01fa58234183164a.tar.gz
DevHive-443173ac8937546a2232f1cb01fa58234183164a.zip
Fixed ErrorController, which in turn fixes swagger
Diffstat (limited to 'API/Controllers/ErrorController.cs')
-rw-r--r--API/Controllers/ErrorController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs
index 62daf40..9af73ef 100644
--- a/API/Controllers/ErrorController.cs
+++ b/API/Controllers/ErrorController.cs
@@ -8,6 +8,7 @@ namespace API.Controllers
[Route("/api/[controller]")]
public class ErrorController
{
+ [HttpGet]
public HttpStatusCode Error(Exception exception)
{
return HttpStatusCode.OK;