Skip to content

Commit 0ead4e4

Browse files
Apply suggestions from code review
Co-authored-by: Alex S <49695018+alexs-mparticle@users.noreply.github.com>
1 parent 272579e commit 0ead4e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Rokt-Kit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ var constructor = function () {
161161
}
162162

163163
var userIdentities = filteredUser.getUserIdentities().userIdentities;
164+
164165
return replaceOtherIdentityWithEmailsha256(userIdentities);
165166
}
166167

test/src/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ describe('Rokt Forwarder', () => {
14551455
);
14561456
});
14571457

1458-
it('should not set emailsha256 on final select placements attributes when hashedEmailUserIdentityType is Unassigned', async () => {
1458+
it('should NOT set emailsha256 on final select placements attributes when hashedEmailUserIdentityType is Unassigned', async () => {
14591459
window.mParticle.Rokt.filters = {
14601460
userAttributeFilters: [],
14611461
filterUserAttributes: function (attributes) {

0 commit comments

Comments
 (0)