Allow deleting project members even on V1 projects

This commit is contained in:
Daniel Hougaard
2024-02-22 23:06:24 +01:00
parent 4251e95c15
commit 387094aa27

View File

@@ -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);