Skip to content

Commit

Permalink
trust __stateScopedValues (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 authored Sep 30, 2024
1 parent 5996dac commit 14e0298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/featureToggles.js
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ class FeatureToggles {
let remoteStateScopedValues;
// NOTE: for NO_REDIS mode, we show local updates
if ((await redis.getIntegrationMode()) === REDIS_INTEGRATION_MODE.NO_REDIS) {
remoteStateScopedValues = this.__stateScopedValues ?? {};
remoteStateScopedValues = this.__stateScopedValues;
} else {
remoteStateScopedValues = await redis.hashGetAllObjects(this.__redisKey);
}
Expand Down

0 comments on commit 14e0298

Please sign in to comment.