mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
fix usage get.
This commit is contained in:
parent
4731c1cca3
commit
ab39ae8511
@ -24,7 +24,7 @@ export interface UserUsageRequestResponse {
|
||||
|
||||
const schema = {
|
||||
GET: yup.object().shape({
|
||||
id: yup.string().uuid().required(),
|
||||
userId: yup.string().uuid().required(),
|
||||
startAt: yup.number().integer().required(),
|
||||
endAt: yup.number().integer().min(yup.ref<number>('startAt')).required(),
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user