aboutsummaryrefslogtreecommitdiff
path: root/API
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 21:23:04 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 21:23:04 +0200
commit0bd15454f29e30438b28ca0e27887de6b765fb11 (patch)
tree0b3aca4c8db64e1df92f6b642ca32b2e813cda78 /API
parentf8dd04620150c2806169c881c8537dc623a0f463 (diff)
downloadDevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar
DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar.gz
DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.zip
Added temporary functionality to ErrorController
Diffstat (limited to 'API')
-rw-r--r--API/Controllers/ErrorController.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs
index 6757804..62daf40 100644
--- a/API/Controllers/ErrorController.cs
+++ b/API/Controllers/ErrorController.cs
@@ -1,13 +1,16 @@
using System;
+using System.Net;
+using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
[ApiController]
+ [Route("/api/[controller]")]
public class ErrorController
{
public HttpStatusCode Error(Exception exception)
{
-
+ return HttpStatusCode.OK;
}
}
-} \ No newline at end of file
+}