fix(ProfileController): update home_airport_id validation to be nullable

This commit is contained in:
Arthur Pariente 2026-04-24 22:46:13 +02:00 committed by Nabeel S.
parent e5c255bd4a
commit 383d435b1f

View File

@ -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(