mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
Remove enddate check.
This commit is contained in:
parent
fe56ed35d5
commit
c67deb68e6
1 changed files with 1 additions and 3 deletions
|
|
@ -11,12 +11,10 @@ export interface RealtimeRequestQuery {
|
||||||
startAt: number;
|
startAt: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const currentDate = new Date().getTime();
|
|
||||||
|
|
||||||
const schema = {
|
const schema = {
|
||||||
GET: yup.object().shape({
|
GET: yup.object().shape({
|
||||||
id: yup.string().uuid().required(),
|
id: yup.string().uuid().required(),
|
||||||
startAt: yup.number().integer().max(currentDate).required(),
|
startAt: yup.number().integer().required(),
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue