Fix intentionally wrong life360 password

This commit is contained in:
Xevion
2023-02-25 03:16:18 -06:00
parent e701dd798b
commit ee2e51b2ad

View File

@@ -57,10 +57,7 @@ export async function getDistance(): Promise<number> {
let client; let client;
try { try {
// Setup the Life360 API client // Setup the Life360 API client
client = await life360.login( client = await life360.login(env.LIFE360_USERNAME, env.LIFE360_PASSWORD);
env.LIFE360_USERNAME,
env.LIFE360_PASSWORD + 'a'
);
} catch (e) { } catch (e) {
throw new Error( throw new Error(
`Failed while logging in to Life360: ${ `Failed while logging in to Life360: ${