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
Fixed account lookup.
Mike Cao46a18f2918e4
diff --git a/lib/auth.js b/lib/auth.jsindex f43f2002e..93027544f 100644--- a/lib/auth.js+++ b/lib/auth.js@@ -56,7 +56,7 @@ export async function allowQuery(req, type) {} else if (type === TYPE_ACCOUNT) {const account = await getAccount({ accountUuid: id });- return account && account.id === id;+ return account && account.accountUuid === id;}}