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

Yevhenii Kulisidi2cdbd0643711
diff --git a/src/marketplace/extensions/dtos/bodies/uninstall-extension.dto.ts b/src/marketplace/extensions/dtos/bodies/uninstall-extension.dto.ts
index 837ddf55e..9f3187ebb 100644
--- a/src/marketplace/extensions/dtos/bodies/uninstall-extension.dto.ts
+++ b/src/marketplace/extensions/dtos/bodies/uninstall-extension.dto.ts
@@ -1,3 +1,6 @@
+import { ValidateIf } from 'class-validator'
+
export class UninstallExtensionBodyDto {
+ @ValidateIf((_object, value) => value !== undefined)
readonly projectId: string | null
}