diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-16 00:38:25 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-16 00:38:25 +0100 |
commit | 1cccb378316d82ffdf4063b5aa3ecb5146d8fd79 (patch) | |
tree | 97408ab70b99f481b49020a39ed7509d82aa5521 /lib | |
parent | bf8e174f0ae21b320c17b5a8f8d45aefcfef9520 (diff) | |
download | gitlab-ce-1cccb378316d82ffdf4063b5aa3ecb5146d8fd79.tar.gz |
Fix a API deprecation warningfix-deprecation-warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 20b5bc1502a..eb2d370c68e 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -294,7 +294,7 @@ module API header['X-Sendfile'] = path body else - file FileStreamer.new(path) + path end end |