aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/program-json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/program-json.php b/view/program-json.php
index 08f4289..739b71b 100644
--- a/view/program-json.php
+++ b/view/program-json.php
@@ -5,4 +5,4 @@ if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');
header('Content-Type: application/json');
-echo json_encode(program());
+echo json_encode($schedule->getSchedule());