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!

Swagger endpoint update

Yehor Dremliuha5c5b433fba53
diff --git a/apps/production/src/analytics/dto/getData.dto.ts b/apps/production/src/analytics/dto/getData.dto.ts
index 48517920f..e6a19183e 100644
--- a/apps/production/src/analytics/dto/getData.dto.ts
+++ b/apps/production/src/analytics/dto/getData.dto.ts
@@ -28,15 +28,16 @@ export class AnalyticsGET_DTO {
@IsNotEmpty()
timeBucket: TimeBucketType
- @ApiProperty()
+ @ApiProperty({ required: false })
from: string
- @ApiProperty()
+ @ApiProperty({ required: false })
to: string
@ApiProperty({
description:
'A stringified array of properties to filter [{ column, filter, isExclusive }]',
+ required: false,
})
filters: string