File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export default class Optimizely implements Client {
180180 projectConfigManagerReadyPromise ,
181181 eventProcessorStartedPromise ,
182182 config . odpManager ? config . odpManager . onReady ( ) : Promise . resolve ( ) ,
183- this . vuidManager ?. vuidEnabled ? this . vuidManager ?. initialize ( ) : Promise . resolve ( ) ,
183+ config . vuidManager ?. vuidEnabled ? config . vuidManager ?. initialize ( ) : Promise . resolve ( ) ,
184184 ] ) . then ( promiseResults => {
185185 // Only return status from project config promise because event processor promise does not return any status.
186186 return promiseResults [ 0 ] ;
@@ -1762,9 +1762,8 @@ export default class Optimizely implements Client {
17621762 public getVuid ( ) : string | undefined {
17631763 if ( ! this . vuidManager ?. vuidEnabled ) {
17641764 this . logger . log ( LOG_LEVEL . WARNING , 'getVuid() unavailable for this platform or was not explicitly enabled.' , MODULE_NAME ) ;
1765- return undefined ;
17661765 }
17671766
1768- return this . vuidManager . vuid ;
1767+ return this . vuidManager ? .vuid ;
17691768 }
17701769}
You can’t perform that action at this time.
0 commit comments