lib/contentful/sync.rb in contentful-2.7.0 vs lib/contentful/sync.rb in contentful-2.8.0

- old
+ new

@@ -69,10 +69,10 @@ private def fetch_page(options_or_url) return Request.new(@client, options_or_url).get if options_or_url.is_a? String - Request.new(@client, '/sync', options_or_url).get + Request.new(@client, @client.environment_url('/sync'), options_or_url).get end def link_page_to_sync!(page) page.instance_variable_set :@sync, self end