diff --git a/api/app/Http/Controllers/ProfileController.php b/api/app/Http/Controllers/ProfileController.php index 63ef7d5..c762cf6 100644 --- a/api/app/Http/Controllers/ProfileController.php +++ b/api/app/Http/Controllers/ProfileController.php @@ -82,7 +82,7 @@ class ProfileController extends Controller ]); } - public function updateAvatar(Request $request) + public function uploadAvatar(Request $request) { $request->validate([ "avatar" => "required|image|mimes:jpeg,png,jpg,gif|max:2048", diff --git a/frontend/src/pages/game/SinglePlayerGamePage.vue b/frontend/src/pages/game/SinglePlayerGamePage.vue index 9126ae5..89ba86f 100644 --- a/frontend/src/pages/game/SinglePlayerGamePage.vue +++ b/frontend/src/pages/game/SinglePlayerGamePage.vue @@ -1,47 +1,32 @@