fix unexpected ; in api.php on lnie 685