dashboard: fix matrix-accounts GET path to /api/matrix-accounts

BE-1 (the list endpoint) lives at GET /api/matrix-accounts (reads go under
/api/, matching /api/state and /api/operator-inbox); the page was calling
the un-prefixed /matrix-accounts. Correct the fetch + the contract comment +
the docs reference. POST /matrix-account-login (mutation, root path like
/approve) is unchanged.
This commit is contained in:
iris 2026-06-16 09:53:18 +02:00 committed by mara
commit 06d57a61f8
2 changed files with 3 additions and 3 deletions

View file

@ -212,7 +212,7 @@ purpose-built endpoints.
An agent picker (populated from `state.agents`) drives a list of that
agent's configured accounts — name, homeserver, and a token-status dot —
read from `GET /matrix-accounts?agent=<name>` →
read from `GET /api/matrix-accounts?agent=<name>` →
`{ accounts: [ { name, homeserver, token_present } ] }`. The status
reflects only whether a token is **stored** (labelled "token stored",
not "online"); a true live up/down indicator needs the matrix daemon's