Fixes references to the wrong web api endpoint.