mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 13:35:35 +01:00
Update report parameters.
This commit is contained in:
parent
e9b0d3f796
commit
43f5854f15
5 changed files with 27 additions and 20 deletions
|
|
@ -40,6 +40,9 @@ export default async (
|
|||
|
||||
if (req.method === 'POST') {
|
||||
const { id: reportId } = req.query;
|
||||
const {
|
||||
user: { id: userId },
|
||||
} = req.auth;
|
||||
|
||||
const { websiteId, type, name, description, parameters } = req.body;
|
||||
|
||||
|
|
@ -52,6 +55,7 @@ export default async (
|
|||
const result = await updateReport(
|
||||
{
|
||||
websiteId,
|
||||
userId,
|
||||
type,
|
||||
name,
|
||||
description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue