fix: handle datetime serialization in update_task and move endpoint
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 16m16s
Run Tests / Backend Tests (push) Failing after 42s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Gan, Jimmy
2026-04-02 01:47:33 +08:00
parent 9f2cd7cab2
commit 1663535beb
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ async def move_task(
await opc_db.stop_time_entry(task_id=task_id)
if move.status == "done":
updates["completed_at"] = datetime.utcnow()
updates["completed_at"] = datetime.utcnow().replace(tzinfo=None)
updated_task = await opc_db.update_task(
task_id=task_id,