Merge pull request #3292 from Maxime-J/journey-report-fix

Fix journey report
This commit is contained in:
Mike Cao 2025-03-06 14:47:11 -08:00 committed by GitHub
commit 21a1487735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,8 +9,8 @@ export async function POST(request: Request) {
const schema = z.object({
...reportParms,
steps: z.coerce.number().min(3).max(7),
startStep: z.string(),
endStep: z.string(),
startStep: z.string().optional(),
endStep: z.string().optional(),
});
const { auth, body, error } = await parseRequest(request, schema);