fix: preg_replace() error when Eloquent create
This commit is contained in:
parent
430f9d978d
commit
39c9ddee7b
|
|
@ -102,7 +102,7 @@ class RequestController extends Controller
|
|||
$balanceResponseStatus = $balanceResponse->status();
|
||||
|
||||
if($balanceResponseStatus == 201) {
|
||||
RequestModel::create(array_merge($input, [
|
||||
RequestModel::create(array_merge($request->only(['first_name', 'last_name', 'email', 'org_type', 'items']), [
|
||||
'phone' => '+' . $input['dial_code'] . $input['phone']
|
||||
]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue