shawenguan %!s(int64=2) %!d(string=hai) anos
pai
achega
83f0c07adc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Scripts/gandart/gandartPay.js

+ 1 - 1
Scripts/gandart/gandartPay.js

@@ -400,7 +400,7 @@ async function confirmPassword(accountPassword) {
         try {
             const headers = GCommonGandartHeads;
             headers.Host = "api.gandart.com";
-            const body = `accountPassword=${accountPassword}`;
+            const body = `accountPassword=${encodeURIComponent(accountPassword)}`;
             let url = {
                 url: `${config.BASE_API}/user/confirmPassword`,
                 headers: headers,