mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
add minute to UNIT_TYPES. Fix yup validations when all-time filter returne start date = end date
This commit is contained in:
parent
64d9a196cc
commit
fde2be4900
7 changed files with 7 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ const schema = {
|
|||
GET: yup.object().shape({
|
||||
websiteId: yup.string().uuid().required(),
|
||||
startAt: yup.number().integer().required(),
|
||||
endAt: yup.number().integer().moreThan(yup.ref('startAt')).required(),
|
||||
endAt: yup.number().integer().min(yup.ref('startAt')).required(),
|
||||
unit: UnitTypeTest,
|
||||
timezone: TimezoneTest,
|
||||
url: yup.string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue