mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: avoid None to be assigned to WorkflowToolProviderController as provider id
This commit is contained in:
parent
18edeb8e0a
commit
bb58f5c6e5
|
@ -62,7 +62,7 @@ class WorkflowToolProviderController(ToolProviderController):
|
|||
credentials_schema=[],
|
||||
plugin_id=None,
|
||||
),
|
||||
provider_id=db_provider.id,
|
||||
provider_id=db_provider.id or "",
|
||||
)
|
||||
|
||||
# init tools
|
||||
|
|
Loading…
Reference in New Issue
Block a user