Skip to content

Commit

Permalink
Make the fuel used optional (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio authored Jan 22, 2020
1 parent 2415caa commit df83208
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 @@ -126,8 +126,8 @@ class Pirep extends Model
'flight_number' => 'required',
'dpt_airport_id' => 'required',
'arr_airport_id' => 'required',
'block_fuel' => 'required|numeric',
'fuel_used' => 'required|numeric',
'block_fuel' => 'sometimes|numeric',
'fuel_used' => 'sometimes|numeric',
'level' => 'nullable|numeric',
'notes' => 'nullable',
'route' => 'nullable',
Expand Down

0 comments on commit df83208

Please sign in to comment.