Skip to content

Commit 7f1691d

Browse files
rakdutta1crivetimihai
authored andcommitted
tool_service
Signed-off-by: RAKHI DUTTA <[email protected]>
1 parent e7384e0 commit 7f1691d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mcpgateway/services/tool_service.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,8 +1005,6 @@ async def update_tool(
10051005
tool = db.get(DbTool, tool_id)
10061006
if not tool:
10071007
raise ToolNotFoundError(f"Tool not found: {tool_id}")
1008-
if tool_update.name is not None:
1009-
tool.name = tool_update.name
10101008
if tool_update.custom_name is not None:
10111009
tool.custom_name = tool_update.custom_name
10121010
if tool_update.url is not None:

0 commit comments

Comments
 (0)