mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 02:25:35 +01:00
roll back id adds
This commit is contained in:
parent
ec6454aead
commit
4073d57e64
10 changed files with 14 additions and 22 deletions
|
|
@ -18,7 +18,6 @@ export default async (req, res) => {
|
|||
req.query;
|
||||
|
||||
const websiteId = +id;
|
||||
const website_uuid = id;
|
||||
const startDate = new Date(+start_at);
|
||||
const endDate = new Date(+end_at);
|
||||
|
||||
|
|
@ -27,7 +26,7 @@ export default async (req, res) => {
|
|||
}
|
||||
|
||||
const [pageviews, sessions] = await Promise.all([
|
||||
getPageviewStats(websiteId, website_uuid, {
|
||||
getPageviewStats(websiteId, {
|
||||
start_at: startDate,
|
||||
end_at: endDate,
|
||||
timezone: tz,
|
||||
|
|
@ -42,7 +41,7 @@ export default async (req, res) => {
|
|||
country,
|
||||
},
|
||||
}),
|
||||
getPageviewStats(websiteId, website_uuid, {
|
||||
getPageviewStats(websiteId, {
|
||||
start_at: startDate,
|
||||
end_at: endDate,
|
||||
timezone: tz,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue