Skip to content

Commit 5768303

Browse files
committed
Revert "Hash flag keys before looking up"
This reverts commit 8cdd8ec.
1 parent 7dd3bf7 commit 5768303

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client/eppo-client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,7 @@ export default class EppoClient {
942942
validateNotBlank(flagKey, 'Invalid argument: flagKey cannot be blank');
943943

944944
const flagEvaluationDetailsBuilder = this.newFlagEvaluationDetailsBuilder(flagKey);
945-
946-
const overrideVariation = this.overridesStore?.get(getMD5Hash(flagKey));
945+
const overrideVariation = this.overridesStore?.get(flagKey);
947946
if (overrideVariation) {
948947
const configFormat = this.overridesStore?.getFormat() ?? '';
949948
const flagEvaluationDetails = flagEvaluationDetailsBuilder

0 commit comments

Comments
 (0)