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 the route for installing the extension

Yevhenii Kulisidi69154e5c6763
diff --git a/src/marketplace/extensions/dtos/bodies/install-extension.dto.ts b/src/marketplace/extensions/dtos/bodies/install-extension.dto.ts
index 022c8c674..fd7b07b0d 100644
--- a/src/marketplace/extensions/dtos/bodies/install-extension.dto.ts
+++ b/src/marketplace/extensions/dtos/bodies/install-extension.dto.ts
@@ -1,3 +1,6 @@
+import { ValidateIf } from 'class-validator'
+
export class InstallExtensionBodyDto {
+ @ValidateIf((_object, value) => value !== undefined)
readonly projectId: string | null
}