diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-09-05 08:25:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 08:25:51 +0800 |
commit | 561e52577892c10817d7d2d9365be7e541a8d2d7 (patch) | |
tree | 535d07a06a61ef50ae6805d4ac51e0e9ca466f6d /packages/connect/src/http_client.ts | |
parent | 447f16fc4f2910b5a69f1c2f0b4122c295898b2f (diff) | |
parent | 69eb820d0dbca63a6725d99d2d547506e60068ce (diff) | |
download | dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar.gz dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar.bz2 dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar.lz dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar.xz dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.tar.zst dexon-sol-tools-561e52577892c10817d7d2d9365be7e541a8d2d7.zip |
Merge pull request #1058 from 0xProject/fix/connect/use-big-number-in-requests
[connect] Use BigNumber instead of string where appropriate in OrderConfigRequest
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r-- | packages/connect/src/http_client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts index b90c2c35f..87d5c30be 100644 --- a/packages/connect/src/http_client.ts +++ b/packages/connect/src/http_client.ts @@ -151,7 +151,7 @@ export class HttpClient implements Client { params: requestOpts, payload: request, }; - const responseJson = await this._requestAsync('/order_config', HttpRequestType.Post, httpRequestOpts); + const responseJson = await this._requestAsync('/order_config', HttpRequestType.Get, httpRequestOpts); const fees = relayerResponseJsonParsers.parseOrderConfigResponseJson(responseJson); return fees; } |