FIX: no need to pass cache option in onebox

This commit is contained in:
Arpit Jalan 2019-11-04 10:59:28 +05:30
parent cb9702bf7a
commit 72bc0f82b9

View File

@ -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
}