Set organization ID in MCP task response
The NewTask type helper was not copying OrganizationID from the coredata Task, causing it to serialize as a zero-value GID. Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
func NewTask(t *coredata.Task) *Task {
|
||||
return &Task{
|
||||
ID: t.ID,
|
||||
OrganizationID: t.OrganizationID,
|
||||
Name: t.Name,
|
||||
Description: t.Description,
|
||||
State: t.State,
|
||||
|
||||
Reference in New Issue
Block a user