We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489e488 commit 23e5dcaCopy full SHA for 23e5dca
src/cbLoginSignup/Component.svelte
@@ -134,8 +134,7 @@
134
135
async function sendOtp() {
136
errorMessage = null
137
- console.log('urs is', loginFlow === 'email' ? apiMap.sendOtpEmail[appSubdomain] : apiMap.sendOtpMobile[appSubdomain] || 'http://localhost:3000/api/jwt/otp')
138
- const response = await fetch(loginFlow === 'email' ? apiMap.sendOtpEmail[appSubdomain] : apiMap.sendOtpMobile[appSubdomain] || 'http://localhost:3000/api/jwt/otp', {
+ const response = await fetch((loginFlow === 'email' ? apiMap.sendOtpEmail[appSubdomain] : apiMap.sendOtpMobile[appSubdomain]) || 'http://localhost:3000/api/jwt/otp', {
139
method: 'POST',
140
headers: {
141
'Content-Type': 'application/json'
0 commit comments