Update 'src/Connect.php'
This commit is contained in:
parent
de0f263a46
commit
887d5239fd
|
@ -209,7 +209,7 @@ class Connect
|
|||
$model = $this->resolveUser($data, $hasSoftDeletes);
|
||||
|
||||
if ($model->exists()) {
|
||||
if ($hasSoftDeletes) {
|
||||
if ($hasSoftDeletes && $model->trashed()) {
|
||||
$event = 'restore';
|
||||
} else {
|
||||
$event = 'update';
|
||||
|
|
Loading…
Reference in New Issue