diff --git a/backend/app/services/importer.py b/backend/app/services/importer.py index dec0db7..51550c2 100644 --- a/backend/app/services/importer.py +++ b/backend/app/services/importer.py @@ -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: diff --git a/tests/test_importer_attach_in_place.py b/tests/test_importer_attach_in_place.py index 27c7932..b3985ab 100644 --- a/tests/test_importer_attach_in_place.py +++ b/tests/test_importer_attach_in_place.py @@ -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