requested changes

This commit is contained in:
Daniel Hougaard
2025-08-05 22:09:40 +04:00
parent 33fe11e0fd
commit aa3af1672a
2 changed files with 4 additions and 4 deletions

View File

@@ -93,8 +93,10 @@ export const orgAdminServiceFactory = ({
const project = await projectDAL.findOne({ id: projectId, orgId: actorOrgId });
if (!project) throw new NotFoundError({ message: `Project with ID '${projectId}' not found` });
if (project.version === ProjectVersion.V1) {
throw new BadRequestError({ message: "Please upgrade your project on your dashboard" });
if (project.version === ProjectVersion.V1 || project.version === ProjectVersion.V2) {
throw new BadRequestError({
message: `Project '${project.name}' is a legacy project and must be upgraded before accessing it through the admin console.`
});
}
// check already there exist a membership if there return it

View File

@@ -97,8 +97,6 @@ export default function UserInfoStep({
});
if (!errorCheck) {
console.log("signupErrorCheck passed");
try {
const response = await completeAccountSignup({
email,