diff options
Diffstat (limited to 'app/lib')
-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 3d0712a5c..6d48cae2f 100644 --- a/app/lib/provider_discovery.rb +++ b/app/lib/provider_discovery.rb @@ -31,7 +31,7 @@ class ProviderDiscovery < OEmbed::ProviderDiscovery raise OEmbed::NotFound, url end - OEmbed::Provider.new(provider_endpoint, format || OEmbed::Formatter.default) + OEmbed::Provider.new(provider_endpoint, format) end end end |