Fix Rails/WhereExists cop in app/lib (#28862)
This commit is contained in:
@@ -28,7 +28,7 @@ class DeliveryFailureTracker
|
||||
end
|
||||
|
||||
def available?
|
||||
!UnavailableDomain.where(domain: @host).exists?
|
||||
!UnavailableDomain.exists?(domain: @host)
|
||||
end
|
||||
|
||||
def exhausted_deliveries_days
|
||||
|
||||
Reference in New Issue
Block a user