fix: use processing_status column in import-media-assets endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user