lib/yoti/doc_scan/session/retrieve/task_response.rb in yoti-1.9.0 vs lib/yoti/doc_scan/session/retrieve/task_response.rb in yoti-1.10.0

- old
+ new

@@ -73,9 +73,11 @@ def map_generated_checks(generated_checks) generated_checks.map do |check| case check['type'] when Constants::ID_DOCUMENT_TEXT_DATA_CHECK GeneratedTextDataCheckResponse.new(check) + when Constants::SUPPLEMENTARY_DOCUMENT_TEXT_DATA_CHECK + GeneratedSupplementaryDocumentTextDataCheckResponse.new(check) else GeneratedCheckResponse.new(check) end end end