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!

Fixed 403 error on receiving projects (#242)

Yevhenii Kulisidi88de27852574
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index d5e47d112..cba4d358a 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -120,7 +120,7 @@ export class ProjectController {
@ApiQuery({ name: 'relatedonly', required: false, type: Boolean })
@ApiQuery({ name: 'search', required: false, type: String })
@ApiResponse({ status: 200, type: [Project] })
- @Auth([UserType.CUSTOMER, UserType.ADMIN], true)
+ @Auth([], true)
async get(
@CurrentUserId() userId: string,
@Query('take') take: number | undefined,