We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c64f4 commit e57fe24Copy full SHA for e57fe24
src/quotation/index.js
@@ -153,7 +153,7 @@ export const getOrderbook: Function = async (markets: Array<string> = [DEFAULT_M
153
*/
154
export const getMarketList: Function = async (): Promise<Array<MarketInfo>> => {
155
const pathname: string = 'market/all';
156
- const endpoint: string = getEndpoint(HOST, pathname, null);
+ const endpoint: string = getEndpoint(HOST, pathname, '');
157
const result: Response = await fetch(endpoint);
158
const data: Array<MarketInfo> = await result.json();
159
0 commit comments