mirror of
https://github.com/Xevion/bus-reminder.git
synced 2025-12-10 06:06:41 -06:00
Fix intentionally wrong life360 password
This commit is contained in:
@@ -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: ${
|
||||||
|
|||||||
Reference in New Issue
Block a user