changed the api endpoint to production