update small missing '

This commit is contained in:
Maidul Islam
2024-10-21 19:06:02 -04:00
parent c6f66226c8
commit 764446a2d9
6 changed files with 32 additions and 32 deletions
@@ -181,7 +181,7 @@ export const permissionServiceFactory = ({
const orgRole = await orgRoleDAL.findOne({ slug: role, orgId });
if (!orgRole)
throw new NotFoundError({
message: `Specified role ''${role} was not found in the organization with ID '${orgId}'`
message: `Specified role '${role}' was not found in the organization with ID '${orgId}'`
});
return {
permission: buildOrgPermission([{ role: OrgMembershipRole.Custom, permissions: orgRole.permissions }]),