Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove user check

Blue Mousea47fe557ab18
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index 11e4c9fce..7500a0a1c 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -2141,12 +2141,6 @@ export class ProjectController {
throw new NotFoundException('Project not found.')
}
- const user = await this.userService.findUserV2(userId, ['roles'])
-
- if (!user) {
- throw new NotFoundException('User not found.')
- }
-
this.projectService.allowedToView(project, userId, headers['x-password'])
// TODO add caching