Browse Source

Update 'src/Connect.php'

master
Maxime Renou 6 months ago
parent
commit
887d5239fd
  1. 2
      src/Connect.php

2
src/Connect.php

@ -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…
Cancel
Save