aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-26 20:01:51 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-26 20:01:51 +0800
commite5e439adb9d1ff4395c0ff42ac3a310783b3bd22 (patch)
tree8052ac2a5737d5f674e332e782a728e06b2b4323 /packages/connect/src
parent2d8f423ceeabb535a2c333a5c6a593736959b68d (diff)
downloaddexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar.gz
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar.bz2
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar.lz
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar.xz
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.tar.zst
dexon-0x-contracts-e5e439adb9d1ff4395c0ff42ac3a310783b3bd22.zip
Change /order_config endpoint to POST
Diffstat (limited to 'packages/connect/src')
-rw-r--r--packages/connect/src/http_client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index 8a68d6c23..bbd0d2042 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -149,7 +149,7 @@ export class HttpClient implements Client {
params: requestOpts,
payload: request,
};
- const responseJson = await this._requestAsync('/order_config', HttpRequestType.Get, httpRequestOpts);
+ const responseJson = await this._requestAsync('/order_config', HttpRequestType.Post, httpRequestOpts);
const fees = relayerResponseJsonParsers.parseOrderConfigResponseJson(responseJson);
return fees;
}