Skip to content

Commit 4bcddae

Browse files
NeatGuyCodingtutkun
authored andcommitted
minor fix: wrong and (langgenius#22242)
1 parent 5192443 commit 4bcddae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/controllers/console/app/mcp_server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ def get(self, server_id):
9292
raise NotFound()
9393
server = (
9494
db.session.query(AppMCPServer)
95-
.filter(AppMCPServer.id == server_id and AppMCPServer.tenant_id == current_user.current_tenant_id)
95+
.filter(AppMCPServer.id == server_id)
96+
.filter(AppMCPServer.tenant_id == current_user.current_tenant_id)
9697
.first()
9798
)
9899
if not server:

0 commit comments

Comments
 (0)