Avoid redirect URL on CMC coinlink

pull/275/head
Vuong 3 years ago
parent 59abfbaf3d
commit df5bc19544
No known key found for this signature in database
GPG Key ID: 9E32EEF440B0A5D4

@ -334,7 +334,7 @@ func (s *Service) Price(name string, convert string) (float64, error) {
// CoinLink returns the URL link for the coin
func (s *Service) CoinLink(slug string) string {
return fmt.Sprintf("https://coinmarketcap.com/currencies/%s", slug)
return fmt.Sprintf("https://coinmarketcap.com/currencies/%s/", slug)
}
// SupportedCurrencies returns a list of supported currencies

Loading…
Cancel
Save