mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
fix zod validation for revenue report
This commit is contained in:
parent
97f21d6f23
commit
089b4fee69
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ export async function GET(request: Request) {
|
||||||
|
|
||||||
export async function POST(request: Request) {
|
export async function POST(request: Request) {
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
|
currency: z.string(),
|
||||||
...reportParms,
|
...reportParms,
|
||||||
timezone: timezoneParam,
|
timezone: timezoneParam,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue