From 17dd8abf58d44e397cf7900ef8114da4ab91f349 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Wed, 16 Dec 2020 15:22:31 +0100 Subject: [PATCH] lint fix --- packages/builder/src/analytics.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/analytics.js b/packages/builder/src/analytics.js index 10d67addb3..f59d71ac30 100644 --- a/packages/builder/src/analytics.js +++ b/packages/builder/src/analytics.js @@ -45,17 +45,16 @@ async function identifyByApiKey(apiKey) { ) if (response.status === 200) { const id = await response.json() - + await api.put("/api/keys/userId", { value: id }) identify(id) return true } - + return false } catch (error) { console.log(error) } - } function captureException(err) {