-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PC-34065)[API] fix: mark declined ubble checks as ko
Our Ubble v1 flow marked declined checks as suspicious instead of ko. This used to work because we always create a new identity verification at every Ubble v1 attempt. However, we reuse existing Ubble v2 identity verifications if they are marked as suspicious. If the id verification is declined, Ubble v2 returns a 409 error. Therefore, we should not reuse declined Ubble v2 checks by marking them as KO instead of suspicious.
- Loading branch information
1 parent
feab873
commit bc918dd
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters