Update class-edd-sl-api-endpoint.php