Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
259 B
2
Indexable
Never
if check_yoti_session:
     if set(check_yoti_session) == {'APPROVE'}:
         yoti_session_db.status = UserYotiStatusChoices.PASS
     else:
         yoti_session_db.status = UserYotiStatusChoices.FAIL
     yoti_session_db.save()
     return yoti_session_db