MDeLuise / plant-it

🪴 Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
657 stars 23 forks source link

Searching for plant returns error #15

Closed mwolfaardt closed 1 year ago

mwolfaardt commented 1 year ago

Avoid duplicated bug reports

Description

I go to the plant, search and I get the following error returned : Cannot invoke \"com.google.gson.JsonElement.getAsJsonArray()\" because the return value of \"com.google.gson.JsonObject.get(String)\" is null"

Expected behaviour

No response

Steps to reproduce

No response

Additional info

TabTip_x4ynIqNmQI

MDeLuise commented 1 year ago

Thanks for the feedback, the bug should occurs only when no trefle key is specified. #16 should fix that.