mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 03:25:40 +01:00
Fixed funnel report saving invalid data.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
parent
bf16ade184
commit
980e4e6b41
11 changed files with 34 additions and 25 deletions
|
|
@ -2,8 +2,9 @@ import { z } from 'zod';
|
|||
import * as send from '@/app/api/send/route';
|
||||
import { parseRequest } from '@/lib/request';
|
||||
import { json, serverError } from '@/lib/response';
|
||||
import { anyObjectParam } from '@/lib/schema';
|
||||
|
||||
const schema = z.array(z.object({}).passthrough());
|
||||
const schema = z.array(anyObjectParam);
|
||||
|
||||
export async function POST(request: Request) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue