refactor(backend): address ingest review (drop dead imports, cleaner error, .doc test)

↗ view on GitHub · SW3xyz · 2026-06-16 · 7f3a6062

Removes now-unused storageKey/convertedPdfKey imports from documents.ts, renders ingest errors without the Error: prefix, and covers .doc in allowedDocType test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Repository IZGD/legal-platform
Author SW3xyz <alain@studioweb3.xyz>
Authored
Parents 634ad9cb
Stats 2 files changed , +5 , -5
Part of Google Workspace backend: OAuth, encrypted tokens, Gmail/Calendar, mail triage

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-7f3a6062.md from inside the repo you want the change in.

⬇ Download capture-commit-7f3a6062.md