We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86c065 commit 5b787a9Copy full SHA for 5b787a9
1 file changed
mati/resources/verifications.py
@@ -88,12 +88,9 @@ def proof_of_life_document(self) -> Optional[Liveness]:
88
@property
89
def proof_of_life_url(self) -> Optional[str]:
90
pol = self.proof_of_life_document
91
- if not pol or not pol.data:
92
- return None
93
- url = pol.data.get('video_url') or pol.data.get( # type: ignore
+ return pol.data.get('video_url') or pol.data.get( # type: ignore
94
'selfie_photo_url'
95
)
96
- return url
97
98
99
def proof_of_life_errors(self) -> List[Errors]:
0 commit comments