Skip to content

Commit

Permalink
fix: incorrectly using yahoo client for coingecko
Browse files Browse the repository at this point in the history
  • Loading branch information
achannarasappa committed Jan 25, 2024
1 parent 0958d9f commit fb847bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/quote/quote.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func getQuoteBySource(dep c.Dependencies, symbolBySource c.AssetGroupSymbolsBySo
}

if symbolBySource.Source == c.QuoteSourceCoingecko {
return quoteCoingecko.GetAssetQuotes(*dep.HttpClients.Yahoo, symbolBySource.Symbols)
return quoteCoingecko.GetAssetQuotes(*dep.HttpClients.Default, symbolBySource.Symbols)
}

return []c.AssetQuote{}
Expand Down

0 comments on commit fb847bf

Please sign in to comment.