mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +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) {
|
export async function POST(request: Request) {
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
...reportParms,
|
...reportParms,
|
||||||
window: z.number().positive(),
|
window: z.coerce.number().positive(),
|
||||||
steps: z
|
steps: z
|
||||||
.array(
|
.array(
|
||||||
z.object({
|
z.object({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue