Applied manual JWT check and restored all driver fields62

This commit is contained in:
Hamza-Ayed
2026-04-25 14:21:32 +03:00
parent ee9c0f3a04
commit a724680755
3 changed files with 29 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ Route::prefix('v2')->middleware(['hmac.auth', 'jwt.auth'])->group(function () {
Route::get('/profile/driver', [ProfileController::class, 'driver']);
Route::match(['post', 'put'], '/profile/passenger', [ProfileController::class, 'updatePassenger']);
Route::match(['post', 'put'], '/profile/driver/email', [ProfileController::class, 'updateDriverEmail']);
Route::post('/profile/driver/shamcash', [ProfileController::class, 'updateShamCash']);
// ── Wallet ──
// All wallet operations (balance, funds, transactions) are handled by the