Skip to content

Commit e1eabd2

Browse files
committed
feat: reverted-to-hash
1 parent 51894ad commit e1eabd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flagsmith/engine/evaluation/mappers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def self.map_identity_overrides_to_segments(identity_overrides)
181181
end
182182

183183
# Create hash of the overrides to group identities with same overrides
184-
overrides_hash = Digest::SHA1.hexdigest(overrides_key.inspect)
184+
overrides_hash = overrides_key.hash
185185

186186
features_to_identifiers[overrides_hash] ||= { identifiers: [], overrides: overrides_key }
187187
features_to_identifiers[overrides_hash][:identifiers] << identity.identifier

0 commit comments

Comments
 (0)