File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const container = document.getElementById("container");
44
55function showError ( e = null ) {
66 container . innerHTML = "<h1>Something Went Wrong, see console for details</h1>" ;
7- console . dir ( e )
7+ console . log ( e )
88}
99
1010function identifyUser ( ) {
@@ -36,10 +36,10 @@ function identifyUser(){
3636 showError ( error )
3737 // User not found. Add rejection your logic here
3838 } ,
39- // isOneToOne: true,
40- // oneToOneProps: {
41- // identityId: "uuid/customerId of the user you want to match ",
42- // }
39+ isOneToOne : true ,
40+ oneToOneProps : {
41+ identityId : "65d4d0dc9e37e4d46a2dbad9 " ,
42+ }
4343 } ) ;
4444}
4545
@@ -51,10 +51,10 @@ async function app() {
5151 try {
5252 // Create the instance of incode linked to a client
5353 const apiURL = import . meta. env . VITE_API_URL ;
54- const clientId = import . meta. env . VITE_CLIENT_ID ;
55- const apiKey = import . meta. env . VITE_API_KEY ;
54+ // const clientId = import.meta.env.VITE_CLIENT_ID;
55+ // const apiKey = import.meta.env.VITE_API_KEY;
5656
57- onBoarding = window . OnBoarding . create ( { clientId , apiURL, apiKey } ) ;
57+ onBoarding = window . OnBoarding . create ( { apiURL} ) ;
5858
5959 // Incode web_sdk need to preload some core component before being usable
6060 container . innerHTML = "<h1>Warming up...</h1>" ;
You can’t perform that action at this time.
0 commit comments