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!

fix lenght

Blue Mouse29a18479671a
diff --git a/src/project/entity/project.entity.ts b/src/project/entity/project.entity.ts
index 78fdab18a..5dc710173 100644
--- a/src/project/entity/project.entity.ts
+++ b/src/project/entity/project.entity.ts
@@ -26,7 +26,7 @@ export class Project {
id: string
@ApiProperty()
- @Column('varchar', { length: CAPTCHA_SECRET_KEY_LENGTH })
+ @Column('varchar', { length: 50 })
name: string
@ApiProperty()
@@ -64,7 +64,7 @@ export class Project {
isCaptchaEnabled: boolean
@ApiProperty()
- @Column('varchar', { default: null, length: 50 })
+ @Column('varchar', { default: null, length: CAPTCHA_SECRET_KEY_LENGTH })
captchaSecretKey: string
@ApiProperty({ type: () => User })