Skip to content

Commit 14e0298

Browse files
authored
trust __stateScopedValues (#76)
1 parent 5996dac commit 14e0298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/featureToggles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ class FeatureToggles {
960960
let remoteStateScopedValues;
961961
// NOTE: for NO_REDIS mode, we show local updates
962962
if ((await redis.getIntegrationMode()) === REDIS_INTEGRATION_MODE.NO_REDIS) {
963-
remoteStateScopedValues = this.__stateScopedValues ?? {};
963+
remoteStateScopedValues = this.__stateScopedValues;
964964
} else {
965965
remoteStateScopedValues = await redis.hashGetAllObjects(this.__redisKey);
966966
}

0 commit comments

Comments
 (0)