function sendPasswordVerificationCode(userHandle) {
  const promise = fetch(`${DevineApiConfig.url}functions/send_password_verification_code`, {
    method: 'POST',
    headers: {...DevineApiConfig.apiKeys},
    body: JSON.stringify({userHandle})
  }).then(res => res.json())

  return {
    type: actionTypes.SEND_VERIFICATION_CODE,
    payload: {
      promise
    }
  }
}
/**
 * Sends the password verification code to user.
 *
 * @param {string} userHandle - the user's email or phone number
 * @return {object} request
 */
Sends the password verification code to user.
@param {string} userHandle - the user's email or phone number
@return {object} request
Sends the password verification code to user . @param { string } userHandle - the user ' s email or phone number @return { object } request
function sendPasswordVerificationCode(userHandle) {
  const promise = fetch(`${DevineApiConfig.url}functions/send_password_verification_code`, {
    method: 'POST',
    headers: {...DevineApiConfig.apiKeys},
    body: JSON.stringify({userHandle})
  }).then(res => res.json())
  return {
    type: actionTypes.SEND_VERIFICATION_CODE,
    payload: {
      promise
    }
  }
}
function sendPasswordVerificationCode ( userHandle ) { const promise = fetch ( ` ${ DevineApiConfig . url } ` , { method : 'POST' , headers : { ... DevineApiConfig . apiKeys } , body : JSON . stringify ( { userHandle } ) } ) . then ( res => res . json ( ) ) return { type : actionTypes . SEND_VERIFICATION_CODE , payload : { promise } } }
Sends the password verification code to user.
Sends the password verification code to user .