Skip to content

Commit

Permalink
Change fuel used to optional #512 (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio authored Feb 23, 2020
1 parent 0e13905 commit b34dc48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Models/Pirep.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ class Pirep extends Model
'flight_number' => 'required',
'dpt_airport_id' => 'required',
'arr_airport_id' => 'required',
'block_fuel' => 'sometimes|numeric',
'fuel_used' => 'sometimes|numeric',
'block_fuel' => 'nullable|numeric',
'fuel_used' => 'nullable|numeric',
'level' => 'nullable|numeric',
'notes' => 'nullable',
'route' => 'nullable',
Expand Down

0 comments on commit b34dc48

Please sign in to comment.