Skip to content

Commit e57fe24

Browse files
committed
Changed to empty string instead of null for qs
1 parent 14c64f4 commit e57fe24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quotation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const getOrderbook: Function = async (markets: Array<string> = [DEFAULT_M
153153
*/
154154
export const getMarketList: Function = async (): Promise<Array<MarketInfo>> => {
155155
const pathname: string = 'market/all';
156-
const endpoint: string = getEndpoint(HOST, pathname, null);
156+
const endpoint: string = getEndpoint(HOST, pathname, '');
157157
const result: Response = await fetch(endpoint);
158158
const data: Array<MarketInfo> = await result.json();
159159

0 commit comments

Comments
 (0)