aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/PostController.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-26 10:55:25 +0200
committertranstrike <transtrike@gmail.com>2021-01-26 10:55:25 +0200
commitd2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb (patch)
tree0987a60a73a13ac7894ca01a1edc3274327d5cbe /src/DevHive.Web/Controllers/PostController.cs
parentf910a2a63cb83b35c6589591400a69c8f7f7917c (diff)
downloadDevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar.gz
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.zip
Brief testing of GetPost
Diffstat (limited to 'src/DevHive.Web/Controllers/PostController.cs')
-rw-r--r--src/DevHive.Web/Controllers/PostController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/PostController.cs b/src/DevHive.Web/Controllers/PostController.cs
index b5e1c98..151c688 100644
--- a/src/DevHive.Web/Controllers/PostController.cs
+++ b/src/DevHive.Web/Controllers/PostController.cs
@@ -13,7 +13,7 @@ namespace DevHive.Web.Controllers
{
[ApiController]
[Route("/api/[controller]")]
- // [Authorize(Roles = "User")]
+ [Authorize(Roles = "User,Admin")]
public class PostController
{
private readonly IPostService _postService;