Skip to content

Commit

Permalink
Fix task patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Jul 11, 2024
1 parent b56c984 commit 06f2368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/Tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def patch(self, request, group_id, pipeline_id, task_id):
Task.objects.filter(
pipeline=pipeline,
id=task_id
).update(**json.loads(task.json))
).update(**json.loads(task.json()))

return ModelResponse(Task.objects.filter(id=task.id, pipeline=pipeline).first())
except (DatabaseError, OperationalError, IntegrityError) as e:
Expand Down

0 comments on commit 06f2368

Please sign in to comment.