summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-04-09 08:52:19 +0200
committerJames Lopez <james@jameslopez.es>2018-04-09 08:52:19 +0200
commit88b903c569c8c47433d291c215c43396c297ace8 (patch)
tree2395bc1f468be1d35f09661a87ab84b5fe0d4703 /lib/api/helpers.rb
parent99ac00b1fdb29e7fec890567ba9bae3dbd8e9061 (diff)
parent86ca1a77c58b508fc1b037c5fffbfb22fd992b42 (diff)
downloadgitlab-ce-88b903c569c8c47433d291c215c43396c297ace8.tar.gz
Merge remote-tracking branch 'origin/master' into 10-7-stable-prepare-rc310-7-stable-prepare-rc3
Diffstat (limited to 'lib/api/helpers.rb')
-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 a582aa0ec2c..61dab1dd5cb 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -468,8 +468,8 @@ module API
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))
+ def send_git_archive(repository, **kwargs)
+ header(*Gitlab::Workhorse.send_git_archive(repository, **kwargs))
end
def send_artifacts_entry(build, entry)