mirror of
https://github.com/luxfi/tel.git
synced 2026-10-30 15:15:54 +00:00
/v1/tel shipped in cloud sha-df1f56d4, so the condition the sidebar comment set — the route AND the endpoint both answer — is met, and Numbers, Calls and Messages are back as real pages rather than the 404s they were. ONE component behind all three. They differ only in which columns they show, and three near-identical pages is how two of them stop handling the empty case a month later. Every state a real account passes through is written, and none of them is a spinner that never resolves: signed out asks for Lux ID rather than showing an error; an empty account says what to do next, because 'no data' is a sentence nobody has acted on; an expired token says the session ended and offers the way back in, not '401'. X-Org-Id is asserted ON THE WIRE. These routes read the org from the header while others read it from the token, so omitting it turns a correct request into a 403 — and that is invisible from the rendered page. Money is minor units: 250 GBP-minor is £2.50, pinned by a test, because the day it renders as 250 nobody files a bug, they just believe it. Co-authored-by: Hanzo Dev <[email protected]>
15 KiB
15 KiB