fix: Pre-1980 Cars
All checks were successful
Deploy to Staging / Build Images (push) Successful in 5m24s
Deploy to Staging / Deploy to Staging (push) Successful in 36s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2025-12-31 14:36:00 -06:00
parent 7e606df012
commit 82fa85cd22
3 changed files with 11 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ import { VehicleImageUpload } from './VehicleImageUpload';
const vehicleSchema = z
.object({
vin: z.string().optional(),
year: z.number().min(1980).max(new Date().getFullYear() + 1).optional(),
year: z.number().min(1950).max(new Date().getFullYear() + 1).optional(),
make: z.string().optional(),
model: z.string().optional(),
engine: z.string().optional(),