Skip to content
Snippets Groups Projects
Commit b12a8df4 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

litteral slip of the finger

parent 8893c0e3
No related branches found
No related tags found
1 merge request!367update unit-tests branch with latest from master
Pipeline #91090 passed
...@@ -1060,7 +1060,7 @@ class LogEntryListViewAPI(generics.ListCreateAPIView): ...@@ -1060,7 +1060,7 @@ class LogEntryListViewAPI(generics.ListCreateAPIView):
# also needs to propagate to the task.new_status # also needs to propagate to the task.new_status
def perform_create(self, serializer): def perform_create(self, serializer):
log_entry = serializer.save() log_entry = serializer.save()
task = log_entry.task3 task = log_entry.task
task.new_status = log_entry.status task.new_status = log_entry.status
task.save() task.save()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment