Update all CensusCaller calls with new arguments.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user