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!

lint:fix

Blue Mousee39f71ceaf2c
diff --git a/apps/production/src/project/project.service.ts b/apps/production/src/project/project.service.ts
index f67283f3a..375f4b607 100644
--- a/apps/production/src/project/project.service.ts
+++ b/apps/production/src/project/project.service.ts
@@ -444,7 +444,10 @@ export class ProjectService {
const [pageviews, customEvents, captcha] = await Promise.all(promises)
- count = pageviews[0]['count()'] + customEvents[0]['count()'] + captcha[0]['count()']
+ count =
+ pageviews[0]['count()'] +
+ customEvents[0]['count()'] +
+ captcha[0]['count()']
await redis.set(
countKey,
@@ -507,7 +510,9 @@ export class ProjectService {
clickhouse.query(countCaptchaQuery).toPromise(),
]
- const [rawTraffic, rawCustomEvents, rawCaptcha] = await Promise.all(promises)
+ const [rawTraffic, rawCustomEvents, rawCaptcha] = await Promise.all(
+ promises,
+ )
const traffic = rawTraffic[0]['count()']
const customEvents = rawCustomEvents[0]['count()']