aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers/ErrorController.cs
diff options
context:
space:
mode:
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;