Commit 313d3b0c authored by Julien Roland's avatar Julien Roland

[Jobs] Add missing query send to request builder

parent 7ace41c4
...@@ -196,7 +196,7 @@ func (s *JobsService) DownloadArtifactsFile(pid interface{}, refName string, job ...@@ -196,7 +196,7 @@ func (s *JobsService) DownloadArtifactsFile(pid interface{}, refName string, job
u := fmt.Sprintf("projects/%s/jobs/artifacts/%s/download", url.QueryEscape(project), refName) u := fmt.Sprintf("projects/%s/jobs/artifacts/%s/download", url.QueryEscape(project), refName)
req, err := s.client.NewRequest("GET", u, nil, options) req, err := s.client.NewRequest("GET", u, q, options)
if err != nil { if err != nil {
return nil, nil, err return nil, nil, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment