aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/http_client.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-16 05:41:09 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-16 05:41:09 +0800
commit41768617a9130828339f3c231322c176ce19fd1d (patch)
treee94bf7667f0ee36d530f0e458b4111e7ceb81a07 /packages/connect/src/http_client.ts
parentbb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae (diff)
downloaddexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.gz
dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.zst
dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.zip
Update test fixtures
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r--packages/connect/src/http_client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index 10c956ff8..7783af876 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -21,6 +21,7 @@ import {
OrdersResponse,
PagedRequestOpts,
PaginatedCollection,
+ FeeRecipientsResponse,
} from './types';
import { relayerResponseJsonParsers } from './utils/relayer_response_json_parsers';
@@ -140,7 +141,7 @@ export class HttpClient implements Client {
/**
* Retrieve the list of fee recipient addresses used by
*/
- public async getFeeRecipientsAsync(): Promise<PaginatedCollection<string>> {
+ public async getFeeRecipientsAsync(): Promise<FeeRecipientsResponse> {
return this._requestAsync('/fee_recipients', HttpRequestType.Get);
}