user 6 éve
szülő
commit
01a6a52a47
3 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      lib/index.js
  2. 1 1
      lib/index.js.map
  3. 1 1
      src/index.ts

+ 1 - 1
lib/index.js

@@ -143,7 +143,7 @@ class BankClient {
             const topicURL = this.urlBase + '/bank/private/' + encodeURIComponent(address) + '/' + encodeURIComponent(topic);
             yield this.webClient.requestJSON({
                 body: payload,
-                method: 'POST',
+                method: 'PUT',
                 url: topicURL
             });
         });

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
lib/index.js.map


+ 1 - 1
src/index.ts

@@ -136,7 +136,7 @@ export class BankClient {
       const topicURL = this.urlBase + '/bank/private/' + encodeURIComponent(address) + '/' + encodeURIComponent(topic);
       await this.webClient.requestJSON({
         body: payload,
-        method: 'POST',
+        method: 'PUT',
         url: topicURL
       });
     }