Skip to content

Commit

Permalink
chore(atlas-service): remove email from tracking info COMPASS-7112 (#…
Browse files Browse the repository at this point in the history
…4776)

chore(atlas-service): remove email from tracking info
  • Loading branch information
gribnoysup authored Aug 30, 2023
1 parent 0b36060 commit 580f4c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/atlas-service/src/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ describe('AtlasServiceMain', function () {
} as AtlasUserInfo)
).to.deep.eq({
auid: '03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4',
email: '[email protected]',
});
});
});
Expand Down
1 change: 0 additions & 1 deletion packages/atlas-service/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export function getTrackingUserInfo(userInfo: AtlasUserInfo) {
// AUID is shared Cloud user identificator that can be tracked through
// various MongoDB properties
auid: createHash('sha256').update(userInfo.sub, 'utf8').digest('hex'),
email: userInfo.primaryEmail,
};
}

Expand Down

0 comments on commit 580f4c8

Please sign in to comment.