Skip to content

Commit

Permalink
Merge pull request #3292 from Maxime-J/journey-report-fix
Browse files Browse the repository at this point in the history
Fix journey report
  • Loading branch information
mikecao authored Mar 6, 2025
2 parents 72ac97c + 51f2a1c commit 21a1487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/api/reports/journey/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 21a1487

Please sign in to comment.