mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Fixed validation for funnel report.
This commit is contained in:
parent
9cc648e589
commit
8dd526a1ab
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import { reportParms } from '@/lib/schema';
|
|||
export async function POST(request: Request) {
|
||||
const schema = z.object({
|
||||
...reportParms,
|
||||
window: z.number().positive(),
|
||||
window: z.coerce.number().positive(),
|
||||
steps: z
|
||||
.array(
|
||||
z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue