GWM : email response issue

This commit is contained in:
Gowtham M 2025-09-03 10:06:03 +05:30
parent 868ee658a2
commit 198b557cf3
2 changed files with 2 additions and 4 deletions

View File

@ -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 {