feat(fc-cleanup): api/cleanup.py blueprint (9 endpoints) + register + delete-audit-<id> token (matches modal convention) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

This commit is contained in:
2026-05-26 08:13:53 -04:00
parent a06ada4c9b
commit 0d0b236ac3
5 changed files with 416 additions and 2 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ def test_apply_audit_run_with_correct_token_deletes_matched(db_sync, tmp_path):
deleted = cleanup_service.apply_audit_run(
db_sync, audit_id=audit.id,
confirm_token=f"apply-audit-{audit.id}",
confirm_token=f"delete-audit-{audit.id}",
images_root=tmp_path,
)
assert deleted == 1