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 {
180
180
projectConfigManagerReadyPromise ,
181
181
eventProcessorStartedPromise ,
182
182
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 ( ) ,
184
184
] ) . then ( promiseResults => {
185
185
// Only return status from project config promise because event processor promise does not return any status.
186
186
return promiseResults [ 0 ] ;
@@ -1762,9 +1762,8 @@ export default class Optimizely implements Client {
1762
1762
public getVuid ( ) : string | undefined {
1763
1763
if ( ! this . vuidManager ?. vuidEnabled ) {
1764
1764
this . logger . log ( LOG_LEVEL . WARNING , 'getVuid() unavailable for this platform or was not explicitly enabled.' , MODULE_NAME ) ;
1765
- return undefined ;
1766
1765
}
1767
1766
1768
- return this . vuidManager . vuid ;
1767
+ return this . vuidManager ? .vuid ;
1769
1768
}
1770
1769
}
You can’t perform that action at this time.
0 commit comments