diff --git a/src/utils/file.ts b/src/utils/file.ts index 8424775..b8a348c 100644 --- a/src/utils/file.ts +++ b/src/utils/file.ts @@ -116,7 +116,9 @@ export function normalizeFileResource(record: Record): FileResource ? record.src : typeof record.path === 'string' ? record.path - : undefined + : typeof record.storage_path === 'string' + ? record.storage_path + : undefined if (!src && !record.full_src) return null