diff --git a/api/factories/file_factory.py b/api/factories/file_factory.py index ead7b9a8b3..1066dc8862 100644 --- a/api/factories/file_factory.py +++ b/api/factories/file_factory.py @@ -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,