Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 81a11fa

Browse files
committed
fix endpoint
1 parent 7d6c7dd commit 81a11fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codacy/Coverage/Util/CodacyApiClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function __construct($baseUrl, $projectToken)
2525
*/
2626
public function sendCoverage($commit, $data)
2727
{
28-
$url = $this->baseUrl . "/api/2.0/coverage/" . $commit . "/php";
28+
$url = $this->baseUrl . "/2.0/coverage/" . $commit . "/php";
2929

3030
$curl = curl_init($url);
3131
curl_setopt($curl, CURLOPT_HEADER, false);

0 commit comments

Comments
 (0)