Skip to content

Commit

Permalink
Merge pull request #59 from AbreuHD/27-api-add-common-log-service-for…
Browse files Browse the repository at this point in the history
…-exceptions-and-events

Enforce Owner role for ScrapPage method
  • Loading branch information
AbreuHD authored Feb 9, 2025
2 parents 46abf46 + 9f65ddb commit 90c3357
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class WebScrapingModuleController : BaseApi
{

[HttpGet("ScrapPage")]
//[Authorize(Roles = "Owner")]
[Authorize(Roles = "Owner")]
[Consumes(MediaTypeNames.Application.Json)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
Expand Down

0 comments on commit 90c3357

Please sign in to comment.