Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: steam url fix

Nevo David6f7a80f689bc
diff --git a/libraries/nestjs-libraries/src/dtos/webhooks/webhook.url.validator.ts b/libraries/nestjs-libraries/src/dtos/webhooks/webhook.url.validator.ts
index 4a949ad17..3ce284333 100644
--- a/libraries/nestjs-libraries/src/dtos/webhooks/webhook.url.validator.ts
+++ b/libraries/nestjs-libraries/src/dtos/webhooks/webhook.url.validator.ts
@@ -68,7 +68,7 @@ export class IsSafeWebhookUrlConstraint implements ValidatorConstraintInterface
}
defaultMessage(_args: ValidationArguments): string {
- return 'Webhook URL must be a public HTTPS URL and must not resolve to localhost, private, loopback, or link-local addresses';
+ return 'URL must be a public HTTPS URL and must not resolve to localhost, private, loopback, or link-local addresses';
}
private isBlockedIp(ip: string): boolean {
diff --git a/libraries/nestjs-libraries/src/dtos/webhooks/webhooks.dto.ts b/libraries/nestjs-libraries/src/dtos/webhooks/webhooks.dto.ts
index 37808ee1e..47c7db721 100644
--- a/libraries/nestjs-libraries/src/dtos/webhooks/webhooks.dto.ts
+++ b/libraries/nestjs-libraries/src/dtos/webhooks/webhooks.dto.ts
@@ -31,7 +31,7 @@ export class OnlyURL {
@IsDefined()
@IsSafeWebhookUrl({
message:
- 'Webhook URL must be a public HTTPS URL and cannot point to internal network addresses',
+ 'URL must be a public HTTPS URL and cannot point to internal network addresses',
})
url: string;
}