mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
finish segments, update migration from filters to parameters
This commit is contained in:
parent
8408bbd25c
commit
5ffafc71fc
10 changed files with 25 additions and 16 deletions
|
|
@ -20,8 +20,6 @@ export async function GET(request: Request, { params }: { params: Promise<{ repo
|
|||
return unauthorized();
|
||||
}
|
||||
|
||||
report.parameters = JSON.parse(report.parameters);
|
||||
|
||||
return json(report);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export async function POST(request: Request) {
|
|||
type,
|
||||
name,
|
||||
description,
|
||||
parameters: JSON.stringify(parameters),
|
||||
parameters: parameters,
|
||||
} as any);
|
||||
|
||||
return json(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue