You've already forked laravel-connect
Update 'src/Connect.php'
This commit is contained in:
@@ -209,7 +209,7 @@ class Connect
|
|||||||
$model = $this->resolveUser($data, $hasSoftDeletes);
|
$model = $this->resolveUser($data, $hasSoftDeletes);
|
||||||
|
|
||||||
if ($model->exists()) {
|
if ($model->exists()) {
|
||||||
if ($hasSoftDeletes) {
|
if ($hasSoftDeletes && $model->trashed()) {
|
||||||
$event = 'restore';
|
$event = 'restore';
|
||||||
} else {
|
} else {
|
||||||
$event = 'update';
|
$event = 'update';
|
||||||
|
|||||||
Reference in New Issue
Block a user