📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Update slackwebhook url for validation in DTO
Yehor Dremliuha34d404c33998
diff --git a/apps/production/src/user/dto/update-user.dto.ts b/apps/production/src/user/dto/update-user.dto.tsindex 3c6a9757b..9a6db5061 100644--- a/apps/production/src/user/dto/update-user.dto.ts+++ b/apps/production/src/user/dto/update-user.dto.ts@@ -24,7 +24,7 @@ export class UpdateUserProfileDTO {@ApiProperty({ required: false, nullable: true })@Matches(- /^https:\/\/hooks\.slack\.com\/services\/[A-Z0-9]{8}\/[A-Z0-9]{8}\/[A-Za-z0-9]{24}$/,+ /^https:\/\/hooks\.slack\.com\/services\/T[a-zA-Z0-9_]{8,10}\/B[a-zA-Z0-9_]{8,10}\/[a-zA-Z0-9_]{24}$/,{ message: 'Invalid Slack Webhook URL' },)@IsString()