21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-01 08:20:49 +02:00

Don't try to validate check when we increment consecutive failures

This commit is contained in:
Colin Darie 2018-08-31 14:26:03 +02:00
parent 3aa1cc376e
commit 95b437bf3d
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -87,7 +87,7 @@ class Check < ApplicationRecord
def increment_consecutive_failures! def increment_consecutive_failures!
self.consecutive_failures += 1 self.consecutive_failures += 1
save! save!(validate: false)
end end
def supported? def supported?