From 908c1790d8d6ac34e3620854ea12fcae2e916660 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:51:12 +0530 Subject: [PATCH] chore: update src/v0/destinations/amazon_audience/utils.js --- src/v0/destinations/amazon_audience/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/amazon_audience/utils.js b/src/v0/destinations/amazon_audience/utils.js index 64a7e35f39..aede36ac0a 100644 --- a/src/v0/destinations/amazon_audience/utils.js +++ b/src/v0/destinations/amazon_audience/utils.js @@ -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; } } if (state) {