corrected the endpoint to match production