The APRS parser sometimes returns :unknown as an atom for the format field, but the database expects a string. This was causing Ecto.ChangeError when inserting packets. Added normalize_format_field/1 function to convert atom values to strings before database insertion. This ensures compatibility between the parser output and database schema requirements. Fixes error: value `:unknown` for `Aprsme.Packet.format` in `insert_all` does not match type :string 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||