mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 10:28:22 +00:00
Allow deleting project members even on V1 projects
This commit is contained in:
@@ -419,9 +419,10 @@ export const projectMembershipServiceFactory = ({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (project.version === ProjectVersion.V1) {
|
// This endpoint should be usable by normal and upgraded projects.
|
||||||
throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
|
// if (project.version === ProjectVersion.V1) {
|
||||||
}
|
// throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
|
||||||
|
// }
|
||||||
|
|
||||||
const projectMembers = await projectMembershipDAL.findMembershipsByEmail(projectId, emails);
|
const projectMembers = await projectMembershipDAL.findMembershipsByEmail(projectId, emails);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user