Applied manual JWT check and restored all driver fields68j2

This commit is contained in:
Hamza-Ayed
2026-04-25 15:07:51 +03:00
parent da590e7fc0
commit 61212b60af
5 changed files with 52 additions and 7 deletions

View File

@@ -112,6 +112,7 @@ Route::prefix('v2')->middleware(['hmac.auth', 'jwt.auth'])->group(function () {
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']);
Route::match(['post', 'put'], '/profile/driver/car', [ProfileController::class, 'updateDriverCar']);
// ── Wallet ──
// All wallet operations (balance, funds, transactions) are handled by the