Skip to content

Commit

Permalink
fix(file_factory): update remote_url to use source_url from row data
Browse files Browse the repository at this point in the history
  • Loading branch information
laipz8200 committed Nov 1, 2024
1 parent 0cc3839 commit 7d2baf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/factories/file_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _build_from_local_file(
tenant_id=tenant_id,
type=file_type,
transfer_method=transfer_method,
remote_url=None,
remote_url=row.source_url,
related_id=mapping.get("upload_file_id"),
_extra_config=config,
size=row.size,
Expand Down

0 comments on commit 7d2baf1

Please sign in to comment.