Change the return value of the api.