From 5783473cfa95e477e4926f4d3f1f0ef4d65a902f Mon Sep 17 00:00:00 2001 From: zye1996 Date: Sun, 3 Jan 2021 13:32:37 -0500 Subject: [PATCH] fix requests url for cryptolive (#1042) Co-authored-by: yzy --- modules/cryptoexchanges/cryptolive/price/widget.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cryptoexchanges/cryptolive/price/widget.go b/modules/cryptoexchanges/cryptolive/price/widget.go index 229d55ef..5c502a45 100644 --- a/modules/cryptoexchanges/cryptolive/price/widget.go +++ b/modules/cryptoexchanges/cryptolive/price/widget.go @@ -137,7 +137,7 @@ func makeRequest(currency *fromCurrency) *http.Request { tsyms += fmt.Sprintf("%s,", to.name) } - url := fmt.Sprintf("%s?fsym=%s&tsyms=%s", baseURL, currency.name, "") + url := fmt.Sprintf("%s?fsym=%s&tsyms=%s", baseURL, currency.name, tsyms) request, _ := http.NewRequest("GET", url, nil) return request