fix(ProfileController): update home_airport_id validation to be nullable
This commit is contained in:
parent
e5c255bd4a
commit
383d435b1f
@ -142,7 +142,7 @@ class ProfileController extends Controller
|
||||
'simbrief_username' => 'required|string',
|
||||
'country' => 'nullable|string',
|
||||
'timezone' => 'nullable|string',
|
||||
'home_airport_id' => 'required|exists:airports,id',
|
||||
'home_airport_id' => 'nullable|exists:airports,id',
|
||||
];
|
||||
|
||||
$userFields = UserField::where(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user