diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-03-03 10:56:48 +0200 |
|---|---|---|
| committer | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-03-03 10:56:48 +0200 |
| commit | 95693f70a2314eab65ac289580d264fe12c42a06 (patch) | |
| tree | 8bef0fcf9ba39222d70e4ea6c819784f792e096f /src/Web/DevHive.Web/Controllers | |
| parent | 4612913c72c3d2b4d3e28629df9f2ed97f0c29a9 (diff) | |
| download | DevHive-95693f70a2314eab65ac289580d264fe12c42a06.tar DevHive-95693f70a2314eab65ac289580d264fe12c42a06.tar.gz DevHive-95693f70a2314eab65ac289580d264fe12c42a06.zip | |
Adding authorization to Rating Controller
Diffstat (limited to 'src/Web/DevHive.Web/Controllers')
| -rw-r--r-- | src/Web/DevHive.Web/Controllers/RatingController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Web/DevHive.Web/Controllers/RatingController.cs b/src/Web/DevHive.Web/Controllers/RatingController.cs index c93a56d..8c44243 100644 --- a/src/Web/DevHive.Web/Controllers/RatingController.cs +++ b/src/Web/DevHive.Web/Controllers/RatingController.cs @@ -11,7 +11,7 @@ using Microsoft.AspNetCore.Mvc; namespace DevHive.Web.Controllers { [ApiController] - //[Authorize(Roles = "Admin,User")] + [Authorize(Roles = "Admin,User")] [Route("api/[controller]")] public class RatingController { |
