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!

fix empty user response

Blue Mouse0ee6fd99dbab
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index af5e784db..d0d490030 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -164,13 +164,7 @@ export class ProjectController {
const [paginated, totalMonthlyEvents, user] = await Promise.all([
this.projectService.paginate({ take, skip }, where),
this.projectService.getRedisCount(userId),
- this.userService.findOneWhere(
- {
- id: userId,
- },
- [],
- ['dashboardBlockReason'],
- ),
+ this.userService.findOne(userId),
])
paginated.results = _map(paginated.results, p => ({