mirror of https://github.com/langgenius/dify.git
Merge 882a56e6b5 into 9065d54f4a
This commit is contained in:
commit
ed625f9d96
|
|
@ -103,11 +103,11 @@ class AppMCPServerController(Resource):
|
|||
if not server:
|
||||
raise NotFound()
|
||||
|
||||
description = payload.description
|
||||
if description is None or not description:
|
||||
server.description = app_model.description or ""
|
||||
# Always sync description from app model unless explicitly provided
|
||||
if payload.description:
|
||||
server.description = payload.description
|
||||
else:
|
||||
server.description = description
|
||||
server.description = app_model.description or ""
|
||||
|
||||
server.name = app_model.name
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue