fix typo - `url` -> `@url`

staging
multiple creatures 2019-07-22 21:42:34 -05:00
parent c2e47f5871
commit 54bc08a8a3
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class FetchLinkCardService < BaseService
@url = sanitize_query_string(@url.to_s)
return if @url.nil?
return if autoreject?(url)
return if autoreject?(@url)
RedisLock.acquire(lock_options) do |lock|
if lock.acquired?

View File

@ -9,7 +9,7 @@ class FetchOEmbedService
@url = url
@options = options
return if autoreject?(url)
return if autoreject?(@url)
discover_endpoint!
fetch!
end