aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-05 06:47:49 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-05 06:49:30 +0800
commit69eb820d0dbca63a6725d99d2d547506e60068ce (patch)
tree1bfadf33a77f2744d241a5956408f7c70f12b0b6 /packages/connect/src
parenta3527a77a6b1de2a808f6a3100c396cb0e0c617f (diff)
downloaddexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar.gz
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar.bz2
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar.lz
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar.xz
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.tar.zst
dexon-0x-contracts-69eb820d0dbca63a6725d99d2d547506e60068ce.zip
Change orderConfig from POST to GET like in spec
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 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;
}