Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix redis.client call
Brian Caof3312732dc0f
diff --git a/queries/admin/website/createWebsite.js b/queries/admin/website/createWebsite.jsindex 9573ceeef..679fdaa3b 100644--- a/queries/admin/website/createWebsite.js+++ b/queries/admin/website/createWebsite.js@@ -15,7 +15,7 @@ export async function createWebsite(user_id, data) {}).then(async res => {if (redis.client && res) {- await redis.set(`website:${res.website_uuid}`, Number(res.website_id));+ await redis.client.set(`website:${res.website_uuid}`, res.website_id);}return res;