From db95b036a0eac64f224b57cfc1ef00727d171111 Mon Sep 17 00:00:00 2001 From: Radhay Date: Wed, 30 Mar 2022 19:53:33 +0530 Subject: [PATCH] fixed: user registration and encryption --- .env.sample | 6 ++++-- src/user/sms/gupshup/gupshup.service.spec.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.sample b/.env.sample index 58fd92f..d806789 100644 --- a/.env.sample +++ b/.env.sample @@ -9,5 +9,7 @@ GUPSHUP_OTP_TEMPLATE="Hi User! The OTP to reset password for Samagra Shiksha App # Fusionauth FUSIONAUTH_APPLICATION_ID="f0ddb3f6-091b-45e4-8c0f-889f89d4f5da" -FUSIONAUTH_BASE_URL="http://www.auth.samagra.io:9011/" -FUSIONAUTH_API_KEY="bla" \ No newline at end of file +FUSIONAUTH_SAMARTH_HP_APPLICATION_ID=f18c3f6f-45b8-4928-b978-a9906fd03f22 +FUSIONAUTH_BASE_URL="http://auth.samarth.samagra.io" +FUSIONAUTH_API_KEY="bla" +ENCRYPTION_KEY="bla" \ No newline at end of file diff --git a/src/user/sms/gupshup/gupshup.service.spec.ts b/src/user/sms/gupshup/gupshup.service.spec.ts index 1552d25..7973472 100644 --- a/src/user/sms/gupshup/gupshup.service.spec.ts +++ b/src/user/sms/gupshup/gupshup.service.spec.ts @@ -165,7 +165,7 @@ describe('Gupshup service Success With Incorrect response', () => { providerResponseCode: null, error: { errorText: - "Gupshup response could not be parsed :: Cannot read properties of undefined (reading 'split'); Provider Response - undefined", + "Gupshup response could not be parsed :: Cannot read property 'split' of undefined; Provider Response - undefined", errorCode: 'CUSTOM ERROR', }, status: SMSResponseStatus.failure,