Fix MCP updateRisk not forwarding note field
The MCP UpdateRiskTool resolver was not passing the Note field to the UpdateRiskRequest, causing note updates via MCP to be silently ignored. The GraphQL resolver already forwarded it correctly. Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -352,6 +352,7 @@ func (r *Resolver) UpdateRiskTool(ctx context.Context, req *mcp.CallToolRequest,
|
||||
InherentImpact: input.InherentImpact,
|
||||
ResidualLikelihood: input.ResidualLikelihood,
|
||||
ResidualImpact: input.ResidualImpact,
|
||||
Note: input.Note,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user