lib/atlas_rb/community.rb in atlas_rb-0.0.34 vs lib/atlas_rb/community.rb in atlas_rb-0.0.35
- old
+ new
@@ -26,9 +26,9 @@
File.basename(xml_path)) }
JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
end
def self.metadata(id, values)
- JSON.parse(connection(values).patch(ROUTE + id, payload)&.body)
+ JSON.parse(connection(values).patch(ROUTE + id)&.body)
end
end
end