diff --git a/src/lib/light.ts b/src/lib/light.ts index d655db4..99d9126 100644 --- a/src/lib/light.ts +++ b/src/lib/light.ts @@ -97,6 +97,7 @@ export class Light { this.autoEndLoginCall(); let res: AxiosResponse; this.challenge = await generateRandomHex(256); + try { res = await this.net.post("/login", { challenge: this.challenge,