mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Updated ReportsTable.
This commit is contained in:
parent
94a27226d1
commit
012d31e010
7 changed files with 12 additions and 81 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import * as yup from 'yup';
|
||||
import { canViewWebsite } from 'lib/auth';
|
||||
import { useAuth, useCors, useValidate } from 'lib/middleware';
|
||||
import { NextApiRequestQueryBody, SearchFilter } from 'lib/types';
|
||||
|
|
@ -9,7 +10,6 @@ export interface ReportsRequestQuery extends SearchFilter {
|
|||
id: string;
|
||||
}
|
||||
|
||||
import * as yup from 'yup';
|
||||
const schema = {
|
||||
GET: yup.object().shape({
|
||||
id: yup.string().uuid().required(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue