lib/filepreviews/utils.rb in filepreviews-1.1.0 vs lib/filepreviews/utils.rb in filepreviews-1.2.0

- old
+ new

@@ -30,10 +30,10 @@ # @param params [Hash<Symbol>] :url and :metadata # @return [Hash<Symbol>] processed parameters for http request def process_params(params) { url: CGI.unescape(params.url), - metadata: extract_metadata(params.metadata) + metadata: [extract_metadata(params.metadata)] } end end end