lib/onebox/engine/soundcloud_onebox.rb in onebox-1.5.60 vs lib/onebox/engine/soundcloud_onebox.rb in onebox-1.5.61

- old
+ new

@@ -19,10 +19,10 @@ private def oembed_data @oembed_data ||= begin oembed_url = "https://soundcloud.com/oembed.json?url=#{url}" - oembed_url << "&maxheight=166" if url["/sets/"] + oembed_url << "&maxheight=166" unless url["/sets/"] Onebox::Helpers.symbolize_keys(::MultiJson.load(Onebox::Helpers.fetch_response(oembed_url).body)) rescue {} end end