From a9e1ce460033280c7d23e0a0a7470c718bce0c1b Mon Sep 17 00:00:00 2001
From: "ext.sopra.yvallet@grandlyon.com" <ext.sopra.yvallet@grandlyon.com>
Date: Fri, 7 May 2021 14:37:03 +0200
Subject: [PATCH] feat: change flag for firstConnection event

---
 src/components/Splash/SplashRoot.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Splash/SplashRoot.tsx b/src/components/Splash/SplashRoot.tsx
index b75168eb4..0aeb18378 100644
--- a/src/components/Splash/SplashRoot.tsx
+++ b/src/components/Splash/SplashRoot.tsx
@@ -198,7 +198,7 @@ const SplashRoot = ({
         if (profile) {
           await UsageEventService.addEvent(client, {
             type: UsageEventType.CONNECTION_EVENT,
-            result: profile.isFirstConnection ? 'isFirstConnection' : undefined,
+            result: profile.isFirstConnection ? 'firstConnection' : undefined,
             context: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
               navigator.userAgent
             )
-- 
GitLab