minor fix: remove duplicates, fix typo, and add restriction for get mcp server (#22170)

Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
This commit is contained in:
NeatGuyCoding
2025-07-11 09:40:17 +08:00
committed by GitHub
parent f4df80e093
commit f929bfb94c
3 changed files with 7 additions and 4 deletions

View File

@@ -69,7 +69,6 @@ class MCPToolManageService:
MCPToolProvider.server_url_hash == server_url_hash,
MCPToolProvider.server_identifier == server_identifier,
),
MCPToolProvider.tenant_id == tenant_id,
)
.first()
)