Skip to content

Commit

Permalink
chore: update src/v0/destinations/amazon_audience/utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 authored Sep 30, 2024
1 parent 8f661f2 commit 908c179
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/v0/destinations/amazon_audience/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ const getUserDetails = (fields, config) => {
if (phone_number) {
const updated_phone_number = phone(phone_number);
if (updated_phone_number.isValid) {
user.phone = enableHash ? sha256(updated_phone_number.phoneNumber) : updated_phone_number.phoneNumber;
user.phone = enableHash
? sha256(updated_phone_number.phoneNumber)
: updated_phone_number.phoneNumber;

Check warning on line 146 in src/v0/destinations/amazon_audience/utils.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/amazon_audience/utils.js#L145-L146

Added lines #L145 - L146 were not covered by tests
}
}
if (state) {
Expand Down

0 comments on commit 908c179

Please sign in to comment.