user 6 년 전
부모
커밋
01a6a52a47
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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
             });
         });

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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
       });
     }