Skip to content

Commit

Permalink
fix: condtion to check userdata
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 22, 2024
1 parent cc321bc commit f374bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/scripts/intercom/v1.0.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class DerivInterCom {
api_base: "https://api-iam.intercom.io",
user_id,
user_hash: signature,
name: this.userData.name, //temp, to be removed
email: this.userData.email, //temp to be removed
name: this.userData?.name, //temp, to be removed
email: this.userData?.email, //temp to be removed
};
} else {
console.warn(
Expand Down

0 comments on commit f374bc5

Please sign in to comment.