Skip to content

A platform for community discussion. Free, open, simple.

FIX: no need to pass `cache` option in onebox

Arpit Jalan72bc0f82b9e0
diff --git a/lib/oneboxer.rb b/lib/oneboxer.rb
index c77857ad574..54a1a3c9346 100644
--- a/lib/oneboxer.rb
+++ b/lib/oneboxer.rb
@@ -275,7 +275,6 @@ module Oneboxer
return blank_onebox if uri.blank? || blacklisted_domains.map { |hostname| uri.hostname.match?(hostname) }.any?
options = {
- cache: {},
max_width: 695,
sanitize_config: Onebox::DiscourseOneboxSanitizeConfig::Config::DISCOURSE_ONEBOX
}