From bd69c8d0963ad45b97741aaacf122d2a3a26a8d1 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 1 Dec 2026 07:10:02 -0500 Subject: [PATCH] Revert the deliberate break: the systems service and the trash list route are back Co-Authored-By: Claude Opus 5.5 --- src/grimoire/routes/trash.py | 2 +- src/grimoire/services/systems.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/grimoire/routes/trash.py b/src/grimoire/routes/trash.py index 7f97b775..001255fb 100644 --- a/src/grimoire/routes/trash.py +++ b/src/grimoire/routes/trash.py @@ -10,7 +10,7 @@ trash_bp = Blueprint("trash", __name__, url_prefix="/api/trash") -# DELIBERATE BREAK (#8249) +@trash_bp.get("") @login_required async def list_trash(): return jsonify({"batches": await trash_svc.list_trash(get_current_user_id())}) diff --git a/src/grimoire/services/systems.py b/src/grimoire/services/systems.py index eea7b118..10a70c07 100644 --- a/src/grimoire/services/systems.py +++ b/src/grimoire/services/systems.py @@ -535,7 +535,3 @@ async def list_issues(user_id: int, project_id: int, open_only: bool = True) -> query = query.order_by(Note.updated_at.desc()) result = await session.execute(query) return list(result.scalars().all()) - - -async def list_everything(project_id: int): # DELIBERATE BREAK (#8249) - return []