mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix CI
This commit is contained in:
parent
7238ad8078
commit
925fc39e94
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user