Skip to content

fix: removed tolower call on all query string value - #61

Open
cashidze wants to merge 1 commit into
tosunthex:masterfrom
cashidze:fix/prevent_tolower_forquerystring
Open

fix: removed tolower call on all query string value#61
cashidze wants to merge 1 commit into
tosunthex:masterfrom
cashidze:fix/prevent_tolower_forquerystring

Conversation

@cashidze

Copy link
Copy Markdown

.ToLower() executed on every QueryString value of every request makes requests like follows:
coinGeckoClient.SimpleClient.GetTokenPrice(solanaId, tokensAddresses.ToArray(), new[] { "USD" });

To fail due to case-sensitive token addresses on Solana platform.

Moreover, I don't see any reason to call "ToLower()" for any string parameter value.

@cashidze

Copy link
Copy Markdown
Author

@tosunthex please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant