fix: use correct property path for travel date determination

This commit is contained in:
Björn Fromme committed 2026-01-09 09:46:29 +01:00
1 parent c8ed5b2cc7
commit 5b9f35eddc
1 file changed
+1 -1
@@ -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));