From 501aee4a35a79dd50f4bd2e13d4fa703057f41d2 Mon Sep 17 00:00:00 2001 From: HJD Date: Tue, 27 Dec 2022 18:36:34 -0600 Subject: [PATCH] Revert changes. --- src/myq-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/myq-api.ts b/src/myq-api.ts index c270b57..89b628c 100644 --- a/src/myq-api.ts +++ b/src/myq-api.ts @@ -160,7 +160,7 @@ export class myQApi { } // Set the login info. - const loginBody = new URLSearchParams({ "Email": this.email, "Password": encodeURIComponent(this.password), "__RequestVerificationToken": requestVerificationToken }); + const loginBody = new URLSearchParams({ "Email": this.email, "Password": this.password, "__RequestVerificationToken": requestVerificationToken }); // Login and we're done. const response = await this.fetch(authPage.url, {