Skip to content
Snippets Groups Projects
Commit 03374542 authored by esantangelo's avatar esantangelo
Browse files

s

parent 1d8baf26
Branches
No related tags found
2 merge requests!26Develop,!23Feature/survey
...@@ -63,7 +63,7 @@ namespace Tsi1.Api.Controllers ...@@ -63,7 +63,7 @@ namespace Tsi1.Api.Controllers
} }
[Authorize(Roles = UserTypes.FacultyAdmin + ", " + UserTypes.UdelarAdmin)] [Authorize(Roles = UserTypes.FacultyAdmin + ", " + UserTypes.UdelarAdmin)]
[HttpGet("GetAllGlobalSurvey")] [HttpGet("GetAllGlobalSurveys")]
public async Task<IActionResult> GetAllGlobalSurveys(int tenantId) public async Task<IActionResult> GetAllGlobalSurveys(int tenantId)
{ {
var userType = HttpContext.User.Claims.FirstOrDefault(x => x.Type == ClaimTypes.Role).Value; var userType = HttpContext.User.Claims.FirstOrDefault(x => x.Type == ClaimTypes.Role).Value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment