mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-30 05:31:50 +02: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…
Reference in New Issue
Block a user