mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 05:26:25 +00:00
Update project-membership-service.ts
This commit is contained in:
@@ -419,11 +419,6 @@ export const projectMembershipServiceFactory = ({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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);
|
const projectMembers = await projectMembershipDAL.findMembershipsByEmail(projectId, emails);
|
||||||
|
|
||||||
if (projectMembers.length !== emails.length) {
|
if (projectMembers.length !== emails.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user