diff --git a/lib/Gitlab/Api/Jobs.php b/lib/Gitlab/Api/Jobs.php index 0cbe46d6a..5e216d708 100644 --- a/lib/Gitlab/Api/Jobs.php +++ b/lib/Gitlab/Api/Jobs.php @@ -81,7 +81,7 @@ public function artifacts($project_id, $job_id) public function artifactsByRefName($project_id, $ref_name, $job_name) { return $this->getAsResponse("projects/".$this->encodePath($project_id)."/jobs/artifacts/".$this->encodePath($ref_name)."/download", array( - 'job' => $this->encodePath($job_name) + 'job' => $job_name ))->getBody(); } @@ -95,7 +95,7 @@ public function artifactsByRefName($project_id, $ref_name, $job_name) public function artifactByRefName($project_id, $ref_name, $job_name, $artifact_path) { return $this->getAsResponse("projects/".$this->encodePath($project_id)."/jobs/artifacts/".$this->encodePath($ref_name)."/raw/".$this->encodePath($artifact_path), array( - 'job' => $this->encodePath($job_name) + 'job' => $job_name ))->getBody(); }