Skip to content

Commit

Permalink
fix: update temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Oct 9, 2024
1 parent a5592d5 commit d051254
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/scripts/freshchat-temp.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ class FreshChat {
hostname = "qa179.deriv.dev";
appId = 1;

constructor({ token = null, locale = "en", hideButton = false } = {}) {
constructor({ token = null, hideButton = false } = {}) {
this.authToken = token;
this.locale = locale;
// this.locale = locale;
this.hideButton = hideButton;
this.init();
}
Expand Down Expand Up @@ -130,7 +130,7 @@ class FreshChat {
} else {
// Call Customer backend and get the signature for userReferenceId
window.fcWidgetMessengerConfig = {
locale: this.locale,
// locale: this.locale,
meta: {
cf_user_jwt: jwt,
},
Expand Down

0 comments on commit d051254

Please sign in to comment.