wgt-node-utils 1.2.37 → 1.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "1.2.37",
3
+ "version": "1.2.39",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -704,7 +704,7 @@ class wgtNodeUtils {
704
704
  const res = await axios.get(url);
705
705
  const properties = res.data && res.data.data && res.data.data.properties || {};
706
706
 
707
- const contactEmail = properties.contact || "gamebridgenoreply@gmail.com";
707
+ let contactEmail = properties.contact || "gamebridgenoreply@gmail.com";
708
708
  const title = properties.title || "";
709
709
  let policyTitle
710
710
  if (lang === 'en') {
@@ -736,7 +736,7 @@ class wgtNodeUtils {
736
736
  const data = {
737
737
  contact: contactEmail,
738
738
  title: title ? title : '',
739
- txt: title ? `<h2>${title}</h2>${txt}` : txt,
739
+ txt: txt ? txt : '',
740
740
  };
741
741
 
742
742
  return data;