minor fix: wrong and (#22242)

pull/22287/head
NeatGuyCoding 7 months ago committed by GitHub
parent 9f013f7644
commit 6c233e05a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -92,7 +92,8 @@ class AppMCPServerRefreshController(Resource):
raise NotFound()
server = (
db.session.query(AppMCPServer)
.filter(AppMCPServer.id == server_id and AppMCPServer.tenant_id == current_user.current_tenant_id)
.filter(AppMCPServer.id == server_id)
.filter(AppMCPServer.tenant_id == current_user.current_tenant_id)
.first()
)
if not server:

Loading…
Cancel
Save