This commit is contained in:
2020-01-22 18:10:12 +00:00
parent b5708667c2
commit e78b54b040
8 changed files with 150 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ namespace AyaNova.Api.Controllers
ApiPagedResponse pr = await DataListFetcher.GetResponse(listOptions.DataListKey, ct, Url, nameof(List), listOptions, UserId, UserRoles);
return Ok(new ApiOkWithPagingResponse(pr));
}
catch (System.NotSupportedException)
catch (System.UnauthorizedAccessException)
{
return StatusCode(403, new ApiNotAuthorizedResponse());
}