cambiatus / backend

Cambiatus GraphQL API
GNU Affero General Public License v3.0
20 stars 18 forks source link

Prevent a nil bio field to crash rich link rendering #264

Closed MatheusBuss closed 2 years ago

MatheusBuss commented 2 years ago

Currently if a user's bio field is stored as nil it will be passed to the function md_to_txt/1 in lib/cambiatus_web/rich_link_view.exs and crash it.

This behavior should be fixed.