aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-03-14 15:04:32 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-03-14 15:04:32 -0400
commit6c2668096099f184a6d805de433e0dec3d8b86d0 (patch)
tree7023410e7473151f1d05d8b97bb3ac7a77525709 /src
parentd03ddca358c1f48389069e351be217fac514c69e (diff)
Respects lab_token from lab
Change-Id: I322f876a21d25dc185a6f4930d2f2a5f463e2d24 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src')
-rw-r--r--src/api/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/views.py b/src/api/views.py
index a56dcfe..2ae1ac5 100644
--- a/src/api/views.py
+++ b/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 = {}