fix: use processing_status column in import-media-assets endpoint

This commit is contained in:
2026-03-07 00:19:31 +01:00
parent 5029a94608
commit c7d74ec636
+1 -1
View File
@@ -484,7 +484,7 @@ async def import_existing_media_assets(
# 1. CadFiles with thumbnail_path
cad_result = await db.execute(
text("SELECT id, thumbnail_path FROM cad_files WHERE thumbnail_path IS NOT NULL AND status = 'completed'")
text("SELECT id, thumbnail_path FROM cad_files WHERE thumbnail_path IS NOT NULL AND processing_status = 'completed'")
)
for row in cad_result.fetchall():
cad_id, thumb_path = row