From 17ee49d03c8f387ce8802c9c3320229fbcbf220f Mon Sep 17 00:00:00 2001 From: Tobi Abiodun Date: Thu, 1 Feb 2024 13:55:05 -0500 Subject: [PATCH] fix(phone): hard code password when not available --- src/services/phone.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/phone.service.ts b/src/services/phone.service.ts index 34b96b319..9b5ab9ba7 100644 --- a/src/services/phone.service.ts +++ b/src/services/phone.service.ts @@ -193,7 +193,9 @@ export default class PhoneService { 'application/x-www-form-urlencoded;charset=UTF-8', ); - const raw = `username=${this.username}&password=${this.password}&platformId=aws80&redirectToApp=true`; + const raw = `username=${this.username}&password=${ + this.password || 'volunteer' + }&platformId=aws80&redirectToApp=true`; const requestOptions = { method: 'POST',