mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Update getWebsiteByUuid.js
if redis website set from getWebsiteByUuid,the value is 1 forever
This commit is contained in:
parent
aa64b76518
commit
6f6cbaa098
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue