mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
code update for: add function to change mobile no
This commit is contained in:
@@ -52,10 +52,10 @@ class UpdateCompanyContactNumberLogic extends AbstractControllerLogic
|
||||
$query = $this->fetchesContact->execute(['id' => $request->input('id')]);
|
||||
|
||||
$contact = new ContactObject(
|
||||
$query->first()->reference,
|
||||
$query->reference,
|
||||
$request->input('contactNumber'),
|
||||
$query->first()->email,
|
||||
$query->first()->wechat_id
|
||||
$query->email,
|
||||
$query->wechat_id
|
||||
);
|
||||
|
||||
$this->updatesContact->execute($query, $contact);
|
||||
|
||||
Reference in New Issue
Block a user