author | Jordan Doyle <jordan@doyle.wf> | 2016-06-22 3:42:52.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.wf> | 2016-06-22 3:42:52.0 +01:00:00 |
commit | 5a1b67181afc1ea5a113b6c21cfb0ab2dcca48b9 [patch] |
|
tree | d0cfeb2956fff7c5286b9648e51de8579b931cc6 |
|
parent | ecf0210ddbd4f5c35f13898a937a2913fe414551 |
|
download | 5a1b67181afc1ea5a113b6c21cfb0ab2dcca48b9.tar.gz |
Give the API the room id
Diff
app/Http/Controllers/Event/TimetableController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Event/TimetableController.php b/app/Http/Controllers/Event/TimetableController.php index 344b3bb..8728fd9 100644 --- a/app/Http/Controllers/Event/TimetableController.php +++ a/app/Http/Controllers/Event/TimetableController.php @@ -197,6 +197,7 @@ 'id' => $event->user()->first()->userid, 'name' => $event->user()->first()->getDisplayName()->toHtml(), 'type' => $event->type->name, 'room' => $event->room_id, 'booked' => true ]; } else {