From 1f11b25266250e0cdd64fbfd063e75e4177d4bc9 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 5 Sep 2019 17:40:48 +0100 Subject: Send dataset name in backup email too --- app/main/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main/routes.py b/app/main/routes.py index b961b60..13fe3f8 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -88,6 +88,7 @@ def annotate(task_id): # send the annotation as email to the admin for backup record = { "user_id": task.annotator_id, + "dataset_name": task.dataset.name, "dataset_id": task.dataset_id, "task_id": task.id, "annotations_raw": annotation, -- cgit v1.2.3