This commit is contained in:
2020-01-27 18:41:14 +00:00
parent 20728c0224
commit 3b2189de01
3 changed files with 7 additions and 6 deletions

View File

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