diff options
| Commit | 0bd15454f29e30438b28ca0e27887de6b765fb11 (patch) | |
|---|---|---|
| Author | 2020-12-10 21:23:04 +0200 | |
| Committer | 2020-12-10 21:23:04 +0200 | |
| Files | 0b3aca4c8db64e1df92f6b642ca32b2e813cda78 /API | |
| DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.tar.gz DevHive-0bd15454f29e30438b28ca0e27887de6b765fb11.zip | ||
| Parent | f8dd04620150c2806169c881c8537dc623a0f463 (diff) | |
Added temporary functionality to ErrorController
1 files changed, 5 insertions, 2 deletions
| -rw-r--r-- | API/Controllers/ErrorController.cs | 7 |
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 +} |
