@@ -430,7 +430,7 @@ private class StatsigServerImpl() :
430
430
431
431
override fun getFeatureGate (user : StatsigUser , gateName : String ): APIFeatureGate {
432
432
if (! isSDKInitialized()) {
433
- return APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .UNINITIALIZED , null )
433
+ return APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .UNINITIALIZED , null , null )
434
434
}
435
435
return errorBoundary.captureSync(
436
436
" getFeatureGate" ,
@@ -444,16 +444,17 @@ private class StatsigServerImpl() :
444
444
result.secondaryExposures,
445
445
result.evaluationDetails?.reason,
446
446
result.evaluationDetails,
447
+ result.idType
447
448
)
448
449
},
449
- { return @captureSync APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .DEFAULT , null ) },
450
+ { return @captureSync APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .DEFAULT , null , null ) },
450
451
configName = gateName,
451
452
)
452
453
}
453
454
454
455
override fun getFeatureGate (user : StatsigUser , gateName : String , option : GetFeatureGateOptions ? ): APIFeatureGate {
455
456
if (! isSDKInitialized()) {
456
- return APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .UNINITIALIZED , null )
457
+ return APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .UNINITIALIZED , null , null )
457
458
}
458
459
return errorBoundary.captureSync(
459
460
" getFeatureGate" ,
@@ -469,9 +470,10 @@ private class StatsigServerImpl() :
469
470
result.secondaryExposures,
470
471
result.evaluationDetails?.reason,
471
472
result.evaluationDetails,
473
+ result.idType
472
474
)
473
475
},
474
- { return @captureSync APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .DEFAULT , null ) },
476
+ { return @captureSync APIFeatureGate (gateName, false , null , arrayListOf (), EvaluationReason .DEFAULT , null , null ) },
475
477
configName = gateName,
476
478
)
477
479
}
0 commit comments