Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.squareup.moshi.LinkedHashTreeMap cannot be cast to io.finnhub.api.models.StockSymbol #6

Open
shervinkoushan opened this issue Aug 3, 2021 · 2 comments

Comments

@shervinkoushan
Copy link

This error occurred after I upgraded to version 2.0.6

Function call that caused the error: apiClient.stockSymbols(exchange.code, "", "", "")
where exchange is of type StockExchange

@finnhubio
Copy link

Hi there,

This should be fixed in 2.0.7 which will be released in a few hours on Maven.

Apologies for the inconvenience.

@shervinkoushan
Copy link
Author

Thank you. What about my comment on this commit?

Isn't it better for quote to be of type JsonObject?

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

No branches or pull requests

2 participants