diff options
Diffstat (limited to 'dashboard/src/api')
-rw-r--r-- | dashboard/src/api/views.py | 2 |
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 = {} |