diff options
Diffstat (limited to 'app/Http')
-rw-r--r-- | app/Http/Controllers/UserController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 2cfbea7..8d98a9a 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -3,9 +3,9 @@ namespace App\Http\Controllers; use Auth; +use Illuminate\Foundation\Auth\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; -use Illuminate\Foundation\Auth\User; use Intervention\Image\ImageManagerStatic as Image; class UserController extends Controller @@ -27,6 +27,6 @@ class UserController extends Controller Storage::put('avatars/' . $avatarName, (string) $fittedAvatar); $user->avatar = $avatarName; $user->save(); - return response()->json(array('success'=>'You have successfully uploaded the avatar.')); + return response()->json(array('success' => 'You have successfully uploaded the avatar.')); } } |