This commit is contained in:
hejl 2024-10-28 14:53:51 +08:00
parent 7238ad8078
commit 925fc39e94

View File

@ -300,9 +300,7 @@ class WorkflowEntry:
tenant_id=tenant_id, tenant_id=tenant_id,
type=type, type=type,
transfer_method=transfer_method, transfer_method=transfer_method,
remote_url=input_value.get("url") remote_url=input_value.get("url") if transfer_method == FileTransferMethod.REMOTE_URL else None,
if transfer_method == FileTransferMethod.REMOTE_URL
else None,
related_id=input_value.get("uploadedId") related_id=input_value.get("uploadedId")
if transfer_method == FileTransferMethod.LOCAL_FILE if transfer_method == FileTransferMethod.LOCAL_FILE
else None, else None,