fix(fc3c): origin='downloaded' (existing enum value), not invented 'imported_download'

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-20 22:01:26 -04:00
parent 717ceb4b5a
commit e5da27f755
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -518,7 +518,7 @@ class Importer:
mime=_mime_for(path),
width=width,
height=height,
origin="imported_download",
origin="downloaded",
integrity_status="unknown",
)
if artist is not None:
+1 -1
View File
@@ -53,7 +53,7 @@ def test_attach_in_place_imports_happy(importer, db_sync):
.where(ImageRecord.id == result.image_id)
).one()
assert rec_path.path == str(target)
assert rec_path.origin == "imported_download"
assert rec_path.origin == "downloaded"
assert rec_path.artist_id == artist.id