diff options
Diffstat (limited to 'app/lib/provider_discovery.rb')
-rw-r--r-- | app/lib/provider_discovery.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/provider_discovery.rb b/app/lib/provider_discovery.rb index 5e02e6806..bcc4ed500 100644 --- a/app/lib/provider_discovery.rb +++ b/app/lib/provider_discovery.rb @@ -2,7 +2,7 @@ class ProviderDiscovery < OEmbed::ProviderDiscovery class << self - def discover_provider(url, options = {}) + def discover_provider(url, **options) res = Request.new(:get, url).perform format = options[:format] |