When packets go through Phoenix LiveView serialization, map keys can be converted from atoms to strings. Add get_received_at/1 helper that handles both formats to prevent KeyError when accessing received_at field. This fixes the crash when the iOS app searches for callsigns and the LiveView tries to render the tracked callsign's last seen time. |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| aprs_symbol.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| time_helpers.ex | ||
| time_utils.ex | ||
| user_auth.ex | ||
| weather_units.ex | ||