mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Merge pull request #1554 from SeesawLiu/patch-1
Update Website id from getWebsiteByUuid.js
This commit is contained in:
commit
36edbe2f4c
@ -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…
x
Reference in New Issue
Block a user