Let the account list carry the bank with a flag

This commit is contained in:
ai-bot committed 2026-11-16 19:03:24 +00:00
1 parent a0141fd3c0
commit a922795c18
1 file changed
+1 -1
+1 -1
View File
@@ -680,7 +680,7 @@ CSRF header. Errors are `{"error": "<nynorsk message>", "field": "<field name or
| POST | `/api/auth/login` | `{username, password}` → sets the session cookie |
| POST | `/api/auth/logout` | Clears the session |
| POST | `/api/auth/password` | `{current_password, new_password}` |
| GET | `/api/markets` | List the real accounts, with `taxable`, `custody_market_id`, sats on hand and `kroner_ore`; the bank is left out |
| GET | `/api/markets` | List the accounts, with `taxable`, `custody_market_id`, sats on hand, `kroner_ore` and `bank`, which marks the bank so the form can offer it only where §3.11 allows it |
| POST | `/api/markets` | Create |
| PATCH | `/api/markets/{id}` | Update |
| DELETE | `/api/markets/{id}` | Refuse with 400 when the account has transactions |