fix(mcp): pass measure_id in AddTaskTool and make it optional
Signed-off-by: Yash Gupta <yash3144@gmail.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
da936c6834
commit
51b31f81f4
1
pkg/coredata/migrations/20260112T165327Z.sql
Normal file
1
pkg/coredata/migrations/20260112T165327Z.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE tasks ALTER COLUMN measure_id DROP NOT NULL;
|
||||
@@ -1349,6 +1349,7 @@ func (r *Resolver) AddTaskTool(ctx context.Context, req *mcp.CallToolRequest, in
|
||||
ctx,
|
||||
probo.CreateTaskRequest{
|
||||
OrganizationID: input.OrganizationID,
|
||||
MeasureID: input.MeasureID,
|
||||
Name: input.Name,
|
||||
Description: input.Description,
|
||||
TimeEstimate: input.TimeEstimate,
|
||||
|
||||
Reference in New Issue
Block a user