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!

add IsOptional

Blue Moused3694123ee3f
diff --git a/backend/apps/cloud/src/analytics/dto/get-profile.dto.ts b/backend/apps/cloud/src/analytics/dto/get-profile.dto.ts
index e9bac366e..064a897f6 100644
--- a/backend/apps/cloud/src/analytics/dto/get-profile.dto.ts
+++ b/backend/apps/cloud/src/analytics/dto/get-profile.dto.ts
@@ -48,9 +48,11 @@ export class GetProfileDto {
period?: string
@ApiProperty({ required: false })
+ @IsOptional()
from?: string
@ApiProperty({ required: false })
+ @IsOptional()
to?: string
}