You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GET /friends route is utilizing a non-existent method (getFriends).
Location:
/routes/web.php line 44 Route::get('/friends', [UserController::class, 'getFriends'])->name('user.getFriends');
Discovery:
When reviewing the UserController I found that there was no getFriends method, however there was a getUserConnections method that appears to fit the use case.
Proposed Solution:
Edit /routes/web.php line 44 FROM: Route::get('/friends', [UserController::class, 'getFriends'])->name('user.getFriends'); TO: Route::get('/friends', [UserController::class, 'getUserConnections'])->name('user.getFriends');
The text was updated successfully, but these errors were encountered:
Description:
The
GET
/friends route is utilizing a non-existent method (getFriends
).Location:
/routes/web.php
line 44Route::get('/friends', [UserController::class, 'getFriends'])->name('user.getFriends');
Discovery:
When reviewing the
UserController
I found that there was nogetFriends
method, however there was agetUserConnections
method that appears to fit the use case.Proposed Solution:
Edit
/routes/web.php
line 44FROM:
Route::get('/friends', [UserController::class, 'getFriends'])->name('user.getFriends');
TO:
Route::get('/friends', [UserController::class, 'getUserConnections'])->name('user.getFriends');
The text was updated successfully, but these errors were encountered: