mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
3c1ea69a39
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ export async function POST(request: Request) {
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
...reportParms,
|
...reportParms,
|
||||||
steps: z.coerce.number().min(3).max(7),
|
steps: z.coerce.number().min(3).max(7),
|
||||||
startStep: z.string(),
|
startStep: z.string().optional(),
|
||||||
endStep: z.string(),
|
endStep: z.string().optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const { auth, body, error } = await parseRequest(request, schema);
|
const { auth, body, error } = await parseRequest(request, schema);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue