Open baker-ling opened 2 years ago
Probably caused by "Farfetch'd"
Here are all the pokemon who seem like they might cause this bug in the future:
It looks like periods (.) just get removed, and spaces are converted to hyphens (-).
What happens to the apostrophe? Just removed like periods?
Yeah, the apostrophe is just removed so farfetch'd -> farfetchd, mr. mime -> mr-mime. Hyphens are unchanged so Ho-oh and Porgyon-Z should not be an issue.
TODO: Add error handling to getPics. Provide a placeholder image URL when API call fails.
Response body: { "code": "ERR_UNESCAPED_CHARACTERS" }