summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-06-10 12:29:15 +0200
committerDouwe Maan <douwe@selenight.nl>2016-06-10 12:29:15 +0200
commit701e2df7e55113dafd48c570baad44bf7f24f863 (patch)
tree27d73c5890f96a3471bdaf128318577f828d2e7f
parent16bd4e566862c17ed0d78e6bd9326171246104ef (diff)
downloadgitlab-ce-701e2df7e55113dafd48c570baad44bf7f24f863.tar.gz
Satisfy Rubocopworkhorse-helpers
-rw-r--r--lib/api/helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 0e47bb0b8ad..e1d3bbcc02d 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -412,11 +412,11 @@ module API
def send_git_blob(repository, blob)
env['api.format'] = :txt
content_type 'text/plain'
- header *Gitlab::Workhorse.send_git_blob(repository, blob)
+ header(*Gitlab::Workhorse.send_git_blob(repository, blob))
end
def send_git_archive(repository, ref:, format:)
- header *Gitlab::Workhorse.send_git_archive(repository, ref: ref, format: format)
+ header(*Gitlab::Workhorse.send_git_archive(repository, ref: ref, format: format))
end
end
end