lib/convert_api/task.rb in convert_api-1.3.0 vs lib/convert_api/task.rb in convert_api-1.3.1

- old
+ new

@@ -64,10 +64,10 @@ def detect_format(params) return DEFAULT_URL_FORMAT if params[:Url] resource = params[:File] || Array(params[:Files]).first - FormatDetector.new(resource).run + FormatDetector.new(resource, @to_format).run end def config ConvertApi.config end