Skip to content

Commit db95b03

Browse files
fixed: user registration and encryption
1 parent b2c36be commit db95b03

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.env.sample

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ GUPSHUP_OTP_TEMPLATE="Hi User! The OTP to reset password for Samagra Shiksha App
99

1010
# Fusionauth
1111
FUSIONAUTH_APPLICATION_ID="f0ddb3f6-091b-45e4-8c0f-889f89d4f5da"
12-
FUSIONAUTH_BASE_URL="http://www.auth.samagra.io:9011/"
13-
FUSIONAUTH_API_KEY="bla"
12+
FUSIONAUTH_SAMARTH_HP_APPLICATION_ID=f18c3f6f-45b8-4928-b978-a9906fd03f22
13+
FUSIONAUTH_BASE_URL="http://auth.samarth.samagra.io"
14+
FUSIONAUTH_API_KEY="bla"
15+
ENCRYPTION_KEY="bla"

src/user/sms/gupshup/gupshup.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('Gupshup service Success With Incorrect response', () => {
165165
providerResponseCode: null,
166166
error: {
167167
errorText:
168-
"Gupshup response could not be parsed :: Cannot read properties of undefined (reading 'split'); Provider Response - undefined",
168+
"Gupshup response could not be parsed :: Cannot read property 'split' of undefined; Provider Response - undefined",
169169
errorCode: 'CUSTOM ERROR',
170170
},
171171
status: SMSResponseStatus.failure,

0 commit comments

Comments
 (0)