Forgot to edit log call in api.js