File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ interface ITokenInfo {
2323 scopes : string [ ] ;
2424}
2525
26- const AWESOME_APP_ID = 'af84f08f40970caf17f2e53b31771ceb50d0f32f7d44b826753982e809395290' ;
27-
2826// Re-initialize when clicked
2927elements . initializeBtn . onclick = ( ) => {
3028 const commonOptions : InitOptions = { } ;
@@ -79,7 +77,7 @@ elements.doOnboardBtn.onclick = async () => {
7977 onBoardOptions . email = onboardOptionsElms . email . value ;
8078 onBoardOptions . pkce = true ;
8179
82- await mtLinkSdk . onboard ( onBoardOptions ) ;
80+ mtLinkSdk . onboard ( onBoardOptions ) ;
8381 } catch ( error ) {
8482 console . log ( error ) ;
8583 }
@@ -242,11 +240,11 @@ elements.openServiceOptionsElms.vaultView.onchange = () => {
242240} ;
243241
244242const initializeLinkSDK = ( options : InitOptions = { } ) => {
245- mtLinkSdk . init ( AWESOME_APP_ID , {
243+ mtLinkSdk . init ( 'af84f08f40970caf17f2e53b31771ceb50d0f32f7d44b826753982e809395290' , {
246244 sdkPlatform : 'js' ,
247245 redirectUri : 'https://localhost:9000' ,
248246 locale : 'en' ,
249- mode : 'develop ' ,
247+ mode : 'staging ' ,
250248 ...options
251249 } ) ;
252250} ;
You can’t perform that action at this time.
0 commit comments