fix(cojo): invalid accreditation should result in a blank champ

This commit is contained in:
Paul Chavard 2023-07-10 19:15:39 +02:00
parent e2a9978c26
commit 95f7ca0f44
2 changed files with 32 additions and 3 deletions

View file

@ -19,7 +19,7 @@ class Champs::COJOChamp < Champ
end
def blank?
accreditation_success.nil?
accreditation_success != true
end
def fetch_external_data?