Skip to content

Commit db8872f

Browse files
committed
Fix localization key in RoleAppService
1 parent f048d80 commit db8872f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public override async Task Delete(EntityDto<int> input)
7575
var role = await _roleManager.FindByIdAsync(input.Id.ToString());
7676
if (role.IsStatic)
7777
{
78-
throw new UserFriendlyException("CannotDeleteAStaticRole");
78+
throw new UserFriendlyException(L("CanNotDeleteStaticRole"));
7979
}
8080

8181
var users = await _userManager.GetUsersInRoleAsync(role.NormalizedName);

0 commit comments

Comments
 (0)