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