fixed syntax errors
This commit is contained in:
		
							parent
							
								
									d705908e35
								
							
						
					
					
						commit
						1e742ed654
					
				@ -23,8 +23,10 @@ $app->setBasePath("/api");
 | 
			
		||||
 | 
			
		||||
$timelineData = new TimelineData();
 | 
			
		||||
 | 
			
		||||
$app->get(“/timelineData”, function (Request $request, Response $response)
 | 
			
		||||
$app->get("/timelineData", function (Request $request, Response $response)
 | 
			
		||||
{
 | 
			
		||||
    global $timelineData;
 | 
			
		||||
    
 | 
			
		||||
    $result = $timelineData->getTimelineData();
 | 
			
		||||
    
 | 
			
		||||
    $json = json_encode($result);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user