diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index c6d21e6..d09a91f 100644 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -326,7 +326,7 @@ class AuthController extends Controller } // Fetch Notification Token & Fingerprint - $tokenRow = DB::connection('primary')->table('passengerToken')->where('passengerID', $data['id'])->first(); + $tokenRow = DB::connection('primary')->table('tokens')->where('passengerID', $data['id'])->first(); if ($tokenRow) { $data['fcm_token'] = $this->encryption->decrypt($tokenRow->token); $data['fingerprint'] = $tokenRow->fingerPrint;