fixed not enough licenses error not displaying at client when attempt to add too many service techs

This commit is contained in:
2021-11-11 23:19:44 +00:00
parent 0d4a556497
commit 278d913ac6
2 changed files with 2 additions and 2 deletions

View File

@@ -834,7 +834,7 @@ namespace AyaNova.Biz
{
if (CurrentActiveCount >= LicensedUserCount)
{
AddError(ApiErrorCode.INVALID_OPERATION, null, await Translate("ErrorSecurityUserCapacity"));
AddError(ApiErrorCode.INVALID_OPERATION, "generalerror", await Translate("ErrorSecurityUserCapacity"));
}
}