lib/livefyre/core/collection.rb in livefyre-2.0.0 vs lib/livefyre/core/collection.rb in livefyre-2.0.1

- old
+ new

@@ -30,9 +30,10 @@ @data.id = JSON.parse(response)['data']['collectionId'] return self elsif response.code == 409 response = invoke_collection_api('update') if response.code == 200 + @data.id = JSON.parse(response)['data']['collectionId'] return self end end raise ApiException.new(self, response.code) end \ No newline at end of file