aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-16 21:57:47 +0200
committertranstrike <transtrike@gmail.com>2020-12-16 21:57:47 +0200
commit1055e501ca94d84bf528c6a33018ac47252ae044 (patch)
tree2baf71509ce09a11718d9f8ee19e66bb749268d0 /src/DevHive.Web/Controllers
parent0a742d4372c91e02ad0267899c6d71368fa87446 (diff)
downloadDevHive-1055e501ca94d84bf528c6a33018ac47252ae044.tar
DevHive-1055e501ca94d84bf528c6a33018ac47252ae044.tar.gz
DevHive-1055e501ca94d84bf528c6a33018ac47252ae044.zip
IRepository should return bool for void operations
Diffstat (limited to 'src/DevHive.Web/Controllers')
-rw-r--r--src/DevHive.Web/Controllers/ErrorController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/ErrorController.cs b/src/DevHive.Web/Controllers/ErrorController.cs
index f4c61ec..189b083 100644
--- a/src/DevHive.Web/Controllers/ErrorController.cs
+++ b/src/DevHive.Web/Controllers/ErrorController.cs
@@ -8,7 +8,7 @@ namespace DevHive.Web.Controllers
public class ErrorController
{
[HttpGet]
- public IActionResult Error(HttpRequestException exception)
+ public IActionResult Error(Exception exception)
{
return new BadRequestObjectResult(exception);
}