Make min ttl 1

This commit is contained in:
Presley Pizzo
2022-08-08 18:49:03 +00:00
parent e92a2c15bd
commit a35bf20160
@@ -168,7 +168,7 @@ export const validationSchema = Yup.object({
}),
ttl: Yup.number()
.integer()
.min(0)
.min(1)
.max(24 * 7 /* 7 days */),
})