Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Controllers / PostController.cs
diff options
context:
space:
mode:
Commitd2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-26 10:55:25 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-26 10:55:25 +0200
Files0987a60a73a13ac7894ca01a1edc3274327d5cbe /src/DevHive.Web/Controllers/PostController.cs
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar.gz
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.zip
Parentf910a2a63cb83b35c6589591400a69c8f7f7917c (diff)
Brief testing of GetPost
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/DevHive.Web/Controllers/PostController.cs2
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;