fix: use correct property path for travel date determination

This commit is contained in:
Björn Fromme
2026-01-09 09:46:29 +01:00
parent c8ed5b2cc7
commit 5b9f35eddc
@@ -70,7 +70,7 @@ class DraftBackfillTravelDateCommand extends Command
continue;
}
$travelDate = $bookingData->travel->dateFrom ?? null;
$travelDate = $bookingData->travelDate;
if (null === $travelDate) {
$io->warning(sprintf('No travel date found for booking %d', $bookingId));