diff options
| -rw-r--r-- | internal/handlers/agent.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/handlers/agent.go b/internal/handlers/agent.go index cf1eaa1..151520b 100644 --- a/internal/handlers/agent.go +++ b/internal/handlers/agent.go @@ -592,10 +592,11 @@ func (h *Handler) HandleAgentTaskCreate(w http.ResponseWriter, r *http.Request) priority = 1 } task := models.Task{ - ID: newID(), - Content: req.Title, - DueDate: req.DueDate, - Priority: priority, + ID: newID(), + Content: req.Title, + DueDate: req.DueDate, + Priority: priority, + ProjectID: req.ProjectID, } err = h.store.CreateNativeTask(task) case "trello": |
