GWM : email response issue
This commit is contained in:
parent
868ee658a2
commit
198b557cf3
@ -51,9 +51,7 @@ if (!function_exists('send_login_otp')) {
|
||||
|
||||
$resp = json_decode($response, true);
|
||||
|
||||
|
||||
|
||||
if ($httpCode === 200) {
|
||||
if (isset($resp['data'][0]['message']) && $resp['data'][0]['message'] == 'Email request received') {
|
||||
log_message('debug', 'OTP Send Success to agent , email = ' . $to_email);
|
||||
return ['status' => 'success', 'code' => 200, 'message' => 'Send Success'];
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user