Commit e088096568c907d99ed0074b4abc609dc8712543

Authored by Alex Savenko
1 parent 5824f1c9

add get_report_dates() example response

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
app/library/App/Resources/AllPositionResource.php
@@ -268,12 +268,12 @@ class AllPositionResource extends ApiResource @@ -268,12 +268,12 @@ class AllPositionResource extends ApiResource
268 ], 268 ],
269 ]) 269 ])
270 ->exampleResponse([ 270 ->exampleResponse([
271 - "2017-02-13" => "0.2",  
272 - "2017-02-15" => "0.2",  
273 - "2017-02-20" => "0.3",  
274 - "2017-02-26" => "0.3",  
275 - "2017-03-06" => "0.3",  
276 - "2017-03-12" => "0.2" 271 + "2017-02-13",
  272 + "2017-02-15",
  273 + "2017-02-20",
  274 + "2017-02-26",
  275 + "2017-03-06",
  276 + "2017-03-12"
277 ]) 277 ])
278 ->allow(AclRoles::USER) 278 ->allow(AclRoles::USER)
279 ) 279 )