Skip to content

Commit f071ffd

Browse files
committed
Update proof_of_life_document to include selfie step
1 parent 4481946 commit f071ffd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mati/resources/verifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def proof_of_residency_document(self) -> Optional[VerificationDocument]:
8282
def proof_of_life_document(self) -> Optional[Liveness]:
8383
if not self.steps:
8484
return None
85-
pol = [pol for pol in self.steps if pol.id == 'liveness']
85+
pol = [pol for pol in self.steps if (pol.id == 'liveness' or pol.id == 'selfie')]
8686
return pol[-1] if pol else None
8787

8888
@property

mati/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.7'
1+
__version__ = '2.0.8.dev1'

0 commit comments

Comments
 (0)