diff --git a/src/v0/destinations/amazon_audience/utils.js b/src/v0/destinations/amazon_audience/utils.js index e8c9030894..64a7e35f39 100644 --- a/src/v0/destinations/amazon_audience/utils.js +++ b/src/v0/destinations/amazon_audience/utils.js @@ -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) {