fix zod validation for revenue report
This commit is contained in:
1 parent
97f21d6f23
commit
089b4fee69
1 file changed
+1
@@ -29,6 +29,7 @@ export async function GET(request: Request) {
|
||||
|
||||
export async function POST(request: Request) {
|
||||
const schema = z.object({
|
||||
currency: z.string(),
|
||||
...reportParms,
|
||||
timezone: timezoneParam,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user