From ee2e51b2ad6eb416acf871048ea152d1cff8e4ed Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 25 Feb 2023 03:16:18 -0600 Subject: [PATCH] Fix intentionally wrong life360 password --- src/location.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/location.ts b/src/location.ts index 8b34c85..0560463 100644 --- a/src/location.ts +++ b/src/location.ts @@ -57,10 +57,7 @@ export async function getDistance(): Promise { let client; try { // Setup the Life360 API client - client = await life360.login( - env.LIFE360_USERNAME, - env.LIFE360_PASSWORD + 'a' - ); + client = await life360.login(env.LIFE360_USERNAME, env.LIFE360_PASSWORD); } catch (e) { throw new Error( `Failed while logging in to Life360: ${