mirror of
https://github.com/fsolla/teqo.git
synced 2026-12-05 08:33:04 +00:00
`postJson` caught a non-JSON response and threw a plain `Error` carrying "Resposta inválida do servidor.", but all three islands read `message` only off a `CampaignWebAuthnError` — so the sentence was written for the person and then thrown down the channel that discards messages. Deleted rather than re-typed: the islands' own fallback is better copy for a field worker, which is the same reason the five list-cell controls substitute their own. Nothing user-visible changes, because the string was already unreachable; the comment now records why the branch is absent, so it does not come back. The login failure sentence was also spelled twice for one slot on one screen — the route's `genericMessage` and the button's fallback — so it became `CAMPAIGN_BIOMETRIC_LOGIN_ERROR_MESSAGE`, twin of the enroll constant the register half already shares between its route and its card. Also widened two doc comments this branch made stale: `campaignJsonMutationRoute` and `campaignJsonRequest` both claimed to serve only the list cells' quick edits, and four of nine callers are now WebAuthn ceremonies. |
||
|---|---|---|
| .. | ||
| activity | ||
| advisor | ||
| auth | ||
| dashboard | ||
| demand | ||
| invite | ||
| leadership | ||
| map | ||
| municipality | ||
| organization | ||
| shared | ||
| shell | ||
| stateDeputy | ||
| supporter | ||
| tour | ||
| votePledge | ||