Skip to content

Commit

Permalink
Fix service
Browse files Browse the repository at this point in the history
  • Loading branch information
kislikjeka committed Jul 16, 2021
1 parent d6480cf commit 1a50c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/exchange_info_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (s *ExchangeInfoService) Do(ctx context.Context, opts ...RequestOption) (re
m["symbol"] = s.symbol
}
if len(s.symbols) != 0 {
r.setParam("symbols", fmt.Sprintf("[%s]", strings.Join(s.symbols, ",")))
r.setParam("symbols", fmt.Sprintf("[\"%s\"]", strings.Join(s.symbols, "\",\"")))
}
r.setParams(m)
data, err := s.c.callAPI(ctx, r, opts...)
Expand Down

0 comments on commit 1a50c35

Please sign in to comment.