fix: avoid None to be assigned to WorkflowToolProviderController as provider id

This commit is contained in:
Yeuoly 2024-10-31 15:18:12 +08:00
parent 18edeb8e0a
commit bb58f5c6e5
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

View File

@ -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