From 81706a11d2e3a260a89ab28dcb19cd858366634a Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Thu, 6 Jul 2023 10:40:18 +0800 Subject: [PATCH] * Remove realStarted in taskstart api ,use setPost. --- api/v1/entries/taskstart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/taskstart.php b/api/v1/entries/taskstart.php index 7ffd440e74..853c275de3 100644 --- a/api/v1/entries/taskstart.php +++ b/api/v1/entries/taskstart.php @@ -22,7 +22,7 @@ class taskStartEntry extends entry { $task = $this->loadModel('task')->getByID($taskID); - $fields = 'assignedTo,realStarted,consumed,left,comment'; + $fields = 'assignedTo,consumed,left,comment'; $this->batchSetPost($fields); $this->setPost('realStarted', $this->request('realStarted', helper::now()));