mirror of https://github.com/langgenius/dify.git
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