From bc68b53b61b8429d8d96101d0340243d8f8261a5 Mon Sep 17 00:00:00 2001 From: Barak Gila Date: Mon, 26 Sep 2022 14:39:57 -0700 Subject: [PATCH] fix lint --- web/lib/service/analytics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/service/analytics.ts b/web/lib/service/analytics.ts index 7ebc2495..780d9ba4 100644 --- a/web/lib/service/analytics.ts +++ b/web/lib/service/analytics.ts @@ -42,5 +42,5 @@ export async function setUserProperty(property: string, value: string) { const identifyObj = new Identify() identifyObj.set(property, value) await identify(identifyObj) - Sprig.setAttributes(identifyObj) + Sprig.setAttributes({ [property]: value }) }