diff --git a/package-lock.json b/package-lock.json index 918412a..2fa8f60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gateio-api", - "version": "1.0.6", + "version": "1.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gateio-api", - "version": "1.0.6", + "version": "1.0.8", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/package.json b/package.json index 4aace3e..089017c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gateio-api", - "version": "1.0.7", + "version": "1.0.8", "description": "Complete & robust Node.js SDK for Gate.io's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.", "scripts": { "clean": "rm -rf dist/*", diff --git a/src/RestClient.ts b/src/RestClient.ts index aacdd0a..dfd5bf8 100644 --- a/src/RestClient.ts +++ b/src/RestClient.ts @@ -335,7 +335,7 @@ export class RestClient extends BaseRestClient { * @returns Promise */ submitWithdrawal(params: SubmitWithdrawalReq): Promise { - return this.postPrivate('/withdrawals', { query: params }); + return this.postPrivate('/withdrawals', { body: params }); } /**