mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Renamed methods. Initial work on realtime dashboard.
This commit is contained in:
parent
b4ea70a67c
commit
e64a555652
16 changed files with 246 additions and 86 deletions
|
|
@ -285,7 +285,7 @@ export async function createAccount(data) {
|
|||
);
|
||||
}
|
||||
|
||||
export function getMetrics(website_id, start_at, end_at, filters = {}) {
|
||||
export function getWebsiteStats(website_id, start_at, end_at, filters = {}) {
|
||||
const params = [website_id, start_at, end_at];
|
||||
const { url } = filters;
|
||||
let urlFilter = '';
|
||||
|
|
@ -317,7 +317,7 @@ export function getMetrics(website_id, start_at, end_at, filters = {}) {
|
|||
);
|
||||
}
|
||||
|
||||
export function getPageviews(
|
||||
export function getPageviewStats(
|
||||
website_id,
|
||||
start_at,
|
||||
end_at,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue