|
@@ -82,7 +82,6 @@ namespace TEAMModelOS.Controllers
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
[HttpPost("get-api")]
|
|
|
- // [AuthToken(Roles = "admin")]
|
|
|
[AuthToken(Roles = "teacher,admin")]
|
|
|
[Authorize(Roles = "IES")]
|
|
|
public async Task<IActionResult> GetApi(JsonElement json) {
|