Fix the endpoint for the nightwatch