Remove ValidateLength from -license_email

ValidateLength can only be applied to strings, [mailaddress] makes it through an error.
This commit is contained in:
JoriPS1 2022-09-15 15:53:32 -04:00 committed by GitHub
parent 99e1030614
commit 66d0b41b62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,6 @@ function New-SnipeitLicense() {
[datetime]$expiration_date,
[ValidateLength(1, 120)]
[mailaddress]$license_email,
[ValidateLength(1, 100)]