Skip to content

Commit 408f997

Browse files
committed
fix duplicata validation
1 parent baaadc3 commit 408f997

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/server/src/workspace/gitpod-server-impl.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,10 +1284,6 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
12841284
throw new ApplicationError(ErrorCodes.BAD_REQUEST, "organizationId must be a valid UUID");
12851285
}
12861286

1287-
if (!uuidValidate(organizationId)) {
1288-
throw new ApplicationError(ErrorCodes.BAD_REQUEST, "organizationId must be a valid UUID");
1289-
}
1290-
12911287
const projectsPromise = this.projectsService.getProjects(user.id, organizationId);
12921288
const workspacesPromise = this.workspaceService.getWorkspaces(user.id, { organizationId });
12931289
const repos = await this.scmService.listSuggestedRepositories(user.id, { projectsPromise, workspacesPromise });

0 commit comments

Comments
 (0)