@@ -199,26 +199,26 @@ |
||
| 199 | 199 | switch ($request->input('type')) { |
| 200 | 200 | case 'text': |
| 201 | 201 | $array = json_decode($result, true); |
| 202 | - $response = ['type' => 'success', |
|
| 203 | - 'message' => 'OTP has been resent to '.$number.'.Please Enter the OTP to login!!', ]; |
|
| 202 | + $response = ['type' => 'success', |
|
| 203 | + 'message' => 'OTP has been resent to '.$number.'.Please Enter the OTP to login!!', ]; |
|
| 204 | 204 | |
| 205 | 205 | break; |
| 206 | 206 | |
| 207 | 207 | case 'voice': |
| 208 | 208 | $array = json_decode($result, true); |
| 209 | 209 | $response = ['type' => 'success', |
| 210 | - 'message' => 'Voice call has been sent to '.$number.'.Please Enter the OTP received on the call to login!!', ]; |
|
| 210 | + 'message' => 'Voice call has been sent to '.$number.'.Please Enter the OTP received on the call to login!!', ]; |
|
| 211 | 211 | break; |
| 212 | 212 | |
| 213 | 213 | default: |
| 214 | 214 | $array = json_decode($result, true); |
| 215 | 215 | $response = ['type' => 'success', |
| 216 | - 'message' => 'Voice call has been sent to '.$number.'.Please Enter the OTP received on the call to login!!', ]; |
|
| 216 | + 'message' => 'Voice call has been sent to '.$number.'.Please Enter the OTP received on the call to login!!', ]; |
|
| 217 | 217 | break; |
| 218 | 218 | |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | - return response()->json($response); |
|
| 221 | + return response()->json($response); |
|
| 222 | 222 | } catch (\Exception $ex) { |
| 223 | 223 | $result = [$ex->getMessage()]; |
| 224 | 224 | |