Explorar o código

Forward the options argument to getFileStream

Xavier Trochu %!s(int64=11) %!d(string=hai) anos
pai
achega
0219900933
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/filestore/app/coffee/FileHandler.coffee

+ 1 - 1
services/filestore/app/coffee/FileHandler.coffee

@@ -41,7 +41,7 @@ module.exports =
 			if err?
 			if err?
 				return callback err
 				return callback err
 			if exists
 			if exists
-				PersistorManager.getFileStream bucket, convertedKey, null, callback
+				PersistorManager.getFileStream bucket, convertedKey, opts, callback
 			else
 			else
 				@_getConvertedFileAndCache bucket, key, convertedKey, opts, callback
 				@_getConvertedFileAndCache bucket, key, convertedKey, opts, callback