Minor fixes for vendor contacts
This commit is contained in:
parent
32387e052c
commit
0a2a4e91e2
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class VendorContactRepository extends BaseRepository
|
|||
}
|
||||
|
||||
/* Get array of IDs which have been removed from the contacts array and soft delete each contact */
|
||||
$vendor->contacts->pluck('id')->diff($contacts->pluck('id'))->each(function ($contact) {
|
||||
$vendor->contacts->pluck('hashed_id')->diff($contacts->pluck('id'))->each(function ($contact) {
|
||||
VendorContact::destroy($contact);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue