lib/atlas_rb/resource.rb in atlas_rb-0.0.46 vs lib/atlas_rb/resource.rb in atlas_rb-0.0.47

- old
+ new

@@ -12,9 +12,9 @@ def self.preview(xml_path) payload = { binary: Faraday::Multipart::FilePart.new(File.open(xml_path), "application/xml", File.basename(xml_path)) } - multipart({ work_id: id }).post('/resources/preview', payload)&.body + multipart({}).post('/resources/preview', payload)&.body end end end