From 1c89e690308512c558ad45cd0de4e820629b63c7 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sat, 6 Jun 2026 20:47:27 +0200 Subject: [PATCH] feat(api): include voided transactions in user-entries endpoint The /api/v1/entries/user view was silently dropping any transaction tagged 'voided', so users couldn't see entries that had been rejected against their accounts. Per the libra reject convention, voided entries keep the '!' flag and carry a 'voided' tag for audit; clients can use the tag to style them distinctly. Pending-approval listing still filters voided. Co-Authored-By: Claude Opus 4.7 (1M context) --- views_api.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/views_api.py b/views_api.py index d31f881..90aabf1 100644 --- a/views_api.py +++ b/views_api.py @@ -486,10 +486,6 @@ async def api_get_user_entries( if e.get("flag") in _SYNTHETIC_FLAGS: continue - # Skip voided transactions - if "voided" in e.get("tags", []): - continue - # Extract user ID from metadata or account names user_id_match = None entry_meta = e.get("meta", {})