diff --git a/project_amber/controllers/task.py b/project_amber/controllers/task.py index bde7103..d577a7f 100644 --- a/project_amber/controllers/task.py +++ b/project_amber/controllers/task.py @@ -78,9 +78,6 @@ def update_task(self, task_id: int, data: dict) -> int: """ task = self.get_task(task_id) new_details = Task(self.user.id, data) - # will drop 404 on a non-existent PID - # TODO: a little too hackish - self.get_task(new_details.parent_id) task.merge(new_details) if not new_details.parent_id is None: if new_details.parent_id == 0: