fix: use correct property path for travel date determination
This commit is contained in:
1 parent
9c9db05b86
commit
b5e2b2a2ad
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));
|
||||
|
||||
Reference in new issue
Block a user