From 88e8ea6ed189f7a609947f2f2f4def06427cf4b3 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 25 Mar 2020 17:02:48 -0400 Subject: [PATCH] Add total flights --- app/Http/Resources/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Resources/User.php b/app/Http/Resources/User.php index 10867feb..e6a23816 100644 --- a/app/Http/Resources/User.php +++ b/app/Http/Resources/User.php @@ -22,6 +22,7 @@ class User extends Resource 'home_airport' => $this->home_airport_id, 'curr_airport' => $this->curr_airport_id, 'last_pirep_id' => $this->last_pirep_id, + 'flights' => $this->flights, 'flight_time' => $this->flight_time, 'timezone' => $this->timezone, 'state' => $this->state,