Skip to content

Commit

Permalink
v1.0.8: fix() withdraw params in body
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jul 23, 2024
1 parent df740b9 commit eed582b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/*",
Expand Down
2 changes: 1 addition & 1 deletion src/RestClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export class RestClient extends BaseRestClient {
* @returns Promise<Withdraw>
*/
submitWithdrawal(params: SubmitWithdrawalReq): Promise<WithdrawalRecord> {
return this.postPrivate('/withdrawals', { query: params });
return this.postPrivate('/withdrawals', { body: params });
}

/**
Expand Down

0 comments on commit eed582b

Please sign in to comment.