mirror of
https://github.com/langgenius/dify.git
synced 2026-04-06 07:32:19 +08:00
nit
This commit is contained in:
parent
cdd60dc1b8
commit
af8a137a2a
@ -251,9 +251,6 @@ class ApiToolManageService:
|
||||
"""
|
||||
update api tool provider
|
||||
"""
|
||||
if schema_type not in ApiProviderSchemaType:
|
||||
raise ValueError(f"invalid schema type {schema}")
|
||||
|
||||
provider_name = provider_name.strip()
|
||||
|
||||
# check if the provider exists
|
||||
|
||||
Loading…
Reference in New Issue
Block a user