mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
d74ace49dc
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,
|
||||||
steps: z.number().min(3).max(7),
|
steps: z.coerce.number().min(3).max(7),
|
||||||
startStep: z.string(),
|
startStep: z.string(),
|
||||||
endStep: z.string(),
|
endStep: z.string(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue