Fixed typo in server api.