fix: key participant status like the participants they belong to
This commit is contained in:
1 parent
67c685f6c1
commit
a3e8c737de
3 files changed
+146
-4
No files matched your search
@@ -96,7 +96,7 @@ class BookingPayloadBuilder
|
||||
foreach ($bookingData->participants as $index => $participant) {
|
||||
$participantPayload = [
|
||||
'@id' => $index + 1,
|
||||
'status' => $bookingData->participantsStatus[$index],
|
||||
'status' => $bookingData->participantsStatus[$index] ?? null,
|
||||
...$participant->toPayload(),
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user