mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
use params
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
cb790fd466
commit
3decad5198
1 changed files with 1 additions and 5 deletions
|
|
@ -20,12 +20,8 @@ export function useWebsiteMetrics(
|
|||
},
|
||||
],
|
||||
queryFn: async () => {
|
||||
const filters = { ...params };
|
||||
|
||||
filters[queryParams.type] = undefined;
|
||||
|
||||
const data = await get(`/websites/${websiteId}/metrics`, {
|
||||
...filters,
|
||||
...params,
|
||||
...queryParams,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue