lib/contentful/sync.rb in contentful-0.6.0 vs lib/contentful/sync.rb in contentful-0.7.0
- old
+ new
@@ -49,9 +49,13 @@
page = Request.new(@client, options_or_url).get
else
page = Request.new(@client, '/sync', options_or_url).get
end
+ if @client.configuration[:raw_mode]
+ return page
+ end
+
link_page_to_sync! page
update_sync_state_from! page
page
end