Skip to content

Commit

Permalink
chore: fix 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 a45f8b2 commit 8f661f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v0/destinations/amazon_audience/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ 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();
if (updated_phone_number.isValid) {
user.phone = enableHash ? sha256(updated_phone_number.phoneNumber) : updated_phone_number.phoneNumber;
}
}
if (state) {
Expand Down

0 comments on commit 8f661f2

Please sign in to comment.