Merge pull request #1554 from SeesawLiu/patch-1
Update Website id from getWebsiteByUuid.jspull/1563/head
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