Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
This commit is contained in:
@ -8,6 +8,6 @@ class HomeFeed < Feed
|
||||
end
|
||||
|
||||
def regenerating?
|
||||
redis.exists("account:#{@id}:regeneration")
|
||||
redis.exists?("account:#{@id}:regeneration")
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user