summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/api/views.py')
-rw-r--r--dashboard/src/api/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/src/api/views.py b/dashboard/src/api/views.py
index a56dcfe..2ae1ac5 100644
--- a/dashboard/src/api/views.py
+++ b/dashboard/src/api/views.py
@@ -101,6 +101,8 @@ def specific_task(request, lab_name="", job_id="", task_id=""):
task.status = request.POST.get('status')
if 'message' in request.POST:
task.message = request.POST.get('message')
+ if 'lab_token' in request.POST:
+ task.lab_token = request.POST.get('lab_token')
task.save()
NotificationHandler.task_updated(task)
d = {}