Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtuttle committed Aug 13, 2024
1 parent 1fb6267 commit 0593a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/sessions/endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ async function postSession(req, res) {
if (!sigDigest) {
return res.status(400).json({ error: "sigDigest is required" });
}
if (!idvProvider || ["veriff", "idenfy", "onfido"].indexOf(idvProvider) === -1) {
if (!idvProvider || ["veriff", "onfido"].indexOf(idvProvider) === -1) {
return res
.status(400)
.json({ error: "idvProvider must be one of 'veriff', 'idenfy', 'onfido'" });
.json({ error: "idvProvider must be one of 'veriff' or 'onfido'" });
}

let domain = null;
Expand Down

0 comments on commit 0593a0b

Please sign in to comment.