fixed syntax errors

This commit is contained in:
Rohit Pai 2021-08-23 22:35:56 +01:00
parent d705908e35
commit 1e742ed654

View File

@ -23,8 +23,10 @@ $app->setBasePath("/api");
$timelineData = new TimelineData(); $timelineData = new TimelineData();
$app->get(/timelineData”, function (Request $request, Response $response) $app->get("/timelineData", function (Request $request, Response $response)
{ {
global $timelineData;
$result = $timelineData->getTimelineData(); $result = $timelineData->getTimelineData();
$json = json_encode($result); $json = json_encode($result);