Merge pull request #1554 from SeesawLiu/patch-1

Update Website id from getWebsiteByUuid.js
This commit is contained in:
Mike Cao 2022-10-08 10:18:42 -07:00 committed by GitHub
commit 36edbe2f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;