From 49acf2edd07db5fa8767cd5283576a34f9b931d9 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Wed, 11 Oct 2023 10:46:08 -0700 Subject: [PATCH] add includeCountry logic to results --- src/queries/analytics/sessions/getSessionMetrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queries/analytics/sessions/getSessionMetrics.ts b/src/queries/analytics/sessions/getSessionMetrics.ts index cccde433..3573ac1e 100644 --- a/src/queries/analytics/sessions/getSessionMetrics.ts +++ b/src/queries/analytics/sessions/getSessionMetrics.ts @@ -78,7 +78,7 @@ async function clickhouseQuery( params, ).then(a => { return Object.values(a).map(a => { - return { x: a.x, y: Number(a.y) }; + return { x: a.x, y: Number(a.y), country: a.country }; }); }); }