Added list for games and matches in the user profile
This commit is contained in:
+2
-4
@@ -40,11 +40,9 @@ Route::prefix('v1')->group(function () {
|
||||
// User Resources
|
||||
Route::prefix('/users')->group(function () {
|
||||
Route::get('/{user}', [UserController::class, 'show']);
|
||||
Route::get('/{user}/matches', [
|
||||
UserController::class,
|
||||
'getMatches',
|
||||
]);
|
||||
Route::get('/{user}/transactions', [UserController::class, 'getTransactions']);
|
||||
Route::get('/{user}/games', [UserController::class, 'getGames']);
|
||||
Route::get('/{user}/matches', [UserController::class, 'getMatches']);
|
||||
});
|
||||
|
||||
Route::prefix('games')->group(function () {
|
||||
|
||||
Reference in New Issue
Block a user