Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Update getWebsiteByUuid.js

刘岗6f6cbaa09805
diff --git a/queries/admin/website/getWebsiteByUuid.js b/queries/admin/website/getWebsiteByUuid.js
index 900e4539b..1b1e04cab 100644
--- a/queries/admin/website/getWebsiteByUuid.js
+++ b/queries/admin/website/getWebsiteByUuid.js
@@ -10,7 +10,7 @@ export async function getWebsiteByUuid(website_uuid) {
})
.then(async res => {
if (redis.client && res) {
- await redis.client.set(`website:${res.website_uuid}`, 1);
+ await redis.client.set(`website:${res.website_uuid}`, res.website_id);
}
return res;