Merge branch 'main' of gitlab.com:treasure-hunt4/treasure-api

This commit is contained in:
Leon 2026-01-07 11:33:21 +01:00
commit 660014d56d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Route::middleware('auth:sanctum')->group(function (): void {
Route::get('hunts/{hunt}', [HuntsController::class, 'show']);
// User
Route::get('users/leaderboard', [UsersController::class, 'leaderboard']);
Route::post('users/update/username', [UsersController::class, 'updateUsername']);
Route::put('users/update/username', [UsersController::class, 'updateUsername']);
Route::get('users/{user}', [UsersController::class, 'show']);
Route::post('users/{user}/avatar', [UsersController::class, 'updateAvatar']);
Route::post('hunts/{hunt}/participate', [HuntsController::class, 'participate']);