Browse Source

some minor change in user during test

remotes/origin/mohammad
mahdihty 4 years ago
parent
commit
2e8f2d6777
  1. 1
      app/Http/Controllers/UserController.php

1
app/Http/Controllers/UserController.php

@ -63,6 +63,7 @@ class UserController extends Controller
{ {
$user = User::findOrFail($user); $user = User::findOrFail($user);
$user->deleteAvatar(); $user->deleteAvatar();
$user->refresh();
return $user; return $user;
} }

Loading…
Cancel
Save