diff --git a/helpers/RestDefinitions.php b/helpers/RestDefinitions.php index e3614d97..ca25ba53 100644 --- a/helpers/RestDefinitions.php +++ b/helpers/RestDefinitions.php @@ -35,6 +35,7 @@ public static function getCalendarEntry(CalendarEntry $entry) 'participant_info' => $entry->participant_info, 'closed' => (int)$entry->closed, 'max_participants' => (int)$entry->max_participants, + 'location' => $entry->location, 'content' => ContentDefinitions::getContent($entry->content), 'participants' => static::getParticipantUsers($entry->getParticipantEntries()->with('user')->all()) ]; @@ -60,4 +61,4 @@ private static function getParticipantUsers($participants) return $result; } -} \ No newline at end of file +}