From c7d74ec636fdc82de2746e7000bfe8d60f123d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Sat, 7 Mar 2026 00:19:31 +0100 Subject: [PATCH] fix: use processing_status column in import-media-assets endpoint --- backend/app/api/routers/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/routers/admin.py b/backend/app/api/routers/admin.py index 1424d09..9d024fd 100644 --- a/backend/app/api/routers/admin.py +++ b/backend/app/api/routers/admin.py @@ -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