mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 05:35:58 +08:00
Use POST for MCP server refresh flow
This commit is contained in:
@ -142,7 +142,7 @@ class AppMCPServerRefreshController(Resource):
|
||||
@login_required
|
||||
@account_initialization_required
|
||||
@marshal_with(app_server_fields)
|
||||
def get(self, server_id):
|
||||
def post(self, server_id):
|
||||
if not current_user.is_editor:
|
||||
raise NotFound()
|
||||
server = (
|
||||
|
||||
Reference in New Issue
Block a user