feat(server): resolved lint issue

This commit is contained in:
Akhil Mohan
2024-03-25 01:06:43 +05:30
parent b5d7699b8d
commit cd0e1a87cf
2 changed files with 6 additions and 6 deletions
@@ -328,7 +328,7 @@ export const projectMembershipServiceFactory = ({
);
const hasCustomRole = Boolean(customInputRoles.length);
if (hasCustomRole) {
const plan = await licenseService.getPlan(actorOrgId as string);
const plan = await licenseService.getPlan(actorOrgId);
if (!plan?.rbac)
throw new BadRequestError({
message: "Failed to assign custom role due to RBAC restriction. Upgrade plan to assign custom role to member."