Update all CensusCaller calls with new arguments.

This commit is contained in:
taitus
2019-04-18 15:27:18 +02:00
committed by Javi Martín
parent 4f52d8bf76
commit a382f7c301
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ class Verification::Management::Document
end
def in_census?
response = CensusCaller.new.call(document_type, document_number)
response = CensusCaller.new.call(document_type, document_number, nil, nil)
response.valid? && valid_age?(response)
end