Fixed report validations.
This commit is contained in:
1 parent
530d6fb323
commit
6ab7746b7d
2 files changed
+19
-10
No files matched your search
@@ -8,6 +8,8 @@ import { getReports, createReport } from 'queries';
|
||||
|
||||
export async function GET(request: Request) {
|
||||
const schema = z.object({
|
||||
websiteId: z.string().uuid().optional(),
|
||||
teamId: z.string().uuid().optional(),
|
||||
...pagingParams,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user