From b608f37237a4758ef428bccf1d2ebf361edd41f7 Mon Sep 17 00:00:00 2001 From: Brendan Robert Date: Thu, 18 Jan 2024 09:10:35 -0600 Subject: [PATCH] Remove console logging --- scripts/apis/user.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/apis/user.js b/scripts/apis/user.js index 6d88c043..f67854ef 100644 --- a/scripts/apis/user.js +++ b/scripts/apis/user.js @@ -88,7 +88,6 @@ export async function login(credentials, failureCallback = null) { }).toString(), }); if (resp.ok) { - console.log('Success!'); // Extract contactKey and externalID from response JSON. Store in session const responseJson = await resp.json(); const { contactKey } = responseJson; @@ -106,7 +105,6 @@ export async function login(credentials, failureCallback = null) { sessionStorage.setItem('userDetails', JSON.stringify(sessionData)); return sessionData; } - console.error('Failed to login'); logout(); if (failureCallback) { failureCallback(resp);