mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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) {
|
||||
throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
|
||||
}
|
||||
// This endpoint should be usable by normal and upgraded projects.
|
||||
// if (project.version === ProjectVersion.V1) {
|
||||
// throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
|
||||
// }
|
||||
|
||||
const projectMembers = await projectMembershipDAL.findMembershipsByEmail(projectId, emails);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user