Closed insunaa closed 1 year ago
I added the ability to specify slug in #1684 since crypto does dumb things like allow non-unique symbols
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.
Description
The Coinmarketcap widget doesn't work when using a symbol that's used for multiple different currencies, since unlike the slugs the symbols aren't unique. In the best case an incorrect currency result is returned, in the worst case a result filled with
null
values is returned, leading to the following errorSteps to reproduce
Create a Coinmarketcap Service Widget In the symbols array add
UNI
orXCH
UNI will cause the error message in the screenshot. XCH will display the incorrect currency (ClearingHouse instead of Chia)homepage version
v0.6.21 (3e01fc1, Jun 12, 2023)
Installation method
Docker
Configuration
Container Logs
No response
Browser Logs
No response
Troubleshooting
N/A since the error comes from requesting incorrect/unclear data from the upstream API endpoint
Other
Using slugs:
Using symbols:
API Key in the Configuration is a placeholder and does not represent the real API key that I use, which is working as confirmed by manually sending the exact same request with curl
Before submitting, I have made sure to