From 1cccb378316d82ffdf4063b5aa3ecb5146d8fd79 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Mon, 16 Jan 2017 00:38:25 +0100 Subject: Fix a API deprecation warning --- lib/api/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1