fix bug: API enabled status error when updating service Swagger documentation

This commit is contained in:
Liujian committed 2025-11-07 16:53:25 +08:00
1 parent a28f3bb680
commit 5450027bbc
1 file changed
+2 -2
@@ -172,8 +172,8 @@ class McpManagerService:
new_api.response_examples = temp_api.response_examples
new_api.response_headers = temp_api.response_headers
new_api.operation_examples = temp_api.operation_examples
new_api.enabled = temp_api.enabled
new_api.is_deleted = temp_api.is_deleted
new_api.enabled = True
# new_api.is_deleted = temp_api.is_deleted
# Save new API record
self.mcp_tool_api_repository.create(new_api)