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!

returning advanced stats wich a birdseye request

Blue Mouseb72fa208ea92
diff --git a/src/analytics/analytics.controller.ts b/src/analytics/analytics.controller.ts
index 640eef01e..dd0212a22 100644
--- a/src/analytics/analytics.controller.ts
+++ b/src/analytics/analytics.controller.ts
@@ -119,7 +119,7 @@ export class AnalyticsController {
throw new UnprocessableEntityException('An array of Project ID\'s has to be provided as a \'pids\' param')
}
- return this.analyticsService.getSummary(pids)
+ return this.analyticsService.getSummary(pids, 'w', true)
}
@Post('/')
@@ -154,7 +154,7 @@ export class AnalyticsController {
return
} catch (e) {
this.logger.error(e)
- throw new InternalServerErrorException(`Error error while saving the data: ${e}`)
+ throw new InternalServerErrorException('Error occured while saving the log data')
}
}
}