Added list for games and matches in the user profile

This commit is contained in:
2026-01-03 00:06:26 +00:00
parent 030b00059e
commit 1a7916a836
4 changed files with 906 additions and 352 deletions
+2 -4
View File
@@ -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 () {