Skip to content

Commit 0f8e0ec

Browse files
committed
feat: add status into InstructorAvailabilityResource.php
status is needed to handle booked events on frontend availability panel for instructor
1 parent 6991f0c commit 0f8e0ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Resources/InstructorAvailabilityResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public function toArray(Request $request): array
1212
return [
1313
'start_time' => $this->start_time->toIso8601String(),
1414
'end_time' => $this->end_time->toIso8601String(),
15+
'status' => $this->status,
1516
];
1617
}
1718
}

0 commit comments

Comments
 (0)