Skip to content

Commit b8b85cc

Browse files
committed
typo
1 parent af8cd01 commit b8b85cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

vite-web-sdk/main.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function startOnboardingSession() {
1515
if (uuid) sessionStartUrl +=`?uuid=${uuid}`;
1616

1717
const response = await fetch(sessionStartUrl);
18-
if (!response.ok){
18+
if (!response.ok) {
1919
const sessionData = await response.json();
2020
throw new Error(sessionData.error);
2121
}
@@ -51,6 +51,11 @@ function renderUserConsent(){
5151
}
5252

5353
function renderFrontIDCamera() {
54+
55+
// Optional but valuable for fraud prevention, hurts conversion
56+
// incode.sendFingerprint(session);
57+
// incode.sendGeolocation(session);
58+
5459
incode.renderCamera("front", container, {
5560
onSuccess: renderBackIDCamera,
5661
onError: showError,

0 commit comments

Comments
 (0)