Files
yttrx-welcomebot/app
pmb 1a3e112946
docker-build-push / build-push (push) Successful in 25s
Fix ipapi.is response parsing: handle flat string format
ipapi.is free tier returns company/asn as flat strings ("Google LLC",
"AS15169 Google LLC") not nested dicts. The old code assumed nested
objects and crashed with AttributeError when trying to call .get() on
strings. This broke IP-based signup scrutiny for every new signup.

Now handles both formats (string and dict) for backward compat. Route
field handling also simplified since free tier doesn't nest asn data.

Fixes signup accounts falling through without IP classification.
2026-09-05 23:24:25 -07:00
..