This commit is contained in:
2021-06-16 19:30:19 +00:00
parent 4b785a5c76
commit 9a9dae5aea
3 changed files with 94 additions and 3 deletions

View File

@@ -351,7 +351,7 @@ namespace AyaNova.Api.Controllers
if (u.UserType == UserType.Customer | u.UserType == UserType.HeadOffice)
{
//customer type has special rights restrictions for UI features so return them here so client UI can enable or disable
var effectiveRights = await UserBiz.CustomerUserEffectiveRights(u.Id);
var effectiveRights = await UserBiz.CustomerUserEffectiveRightsAsync(u.Id);
return Ok(ApiOkResponse.Response(new
{
token = token,