chore: Audit of all model column validations (#3757)
* chore: Updating all model validations before the white-hatters get to it ;) * test * Remove isUrl validation, thinking about it need to account for minio and other weird urls here
This commit is contained in:
@@ -26,7 +26,7 @@ class TeamDomain extends IdModel {
|
||||
msg: "You chose a restricted domain, please try another.",
|
||||
})
|
||||
@NotEmpty
|
||||
@Length({ min: 0, max: 255, msg: "Must be less than 255 characters" })
|
||||
@Length({ max: 255, msg: "name must be 255 characters or less" })
|
||||
@IsFQDN
|
||||
@Column
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user