Files
DeepTutor/deeptutor/services/storage
Rudy Celekli 520d1bf556 fix(library): report restore content conflicts without a server error
Translate only an actual active-SHA uniqueness conflict into a safe 409 response. Preserve both records and their bytes so restoring the earlier entry can be retried after deleting the replacement; unrelated database failures still propagate.

AI-assisted: implemented and validated with OpenAI Codex; isolated API and real SQLite constraints, no user workspace writes.
2026-10-31 01:53:57 -04:00
..