When I trying to add Time Spent via API
GET /api/index.php/tasks/1/addtimespent
{
date: "2022-04-21 16:22:00",
duration: 3600,
user_id: 0,
note: "test"
}
it response Success and change duration
field for task when I call
GET /api/index.php/tasks/1
BUT when i open this task in web app /projet/tasks/task.php?id=1 tab Time Spent, there is no any records, however in the task list Time Spent calculates correct.
If you need any additional info just ask me,