From 821ce129123966cd0bc07a4a0ee81a2f7b2e9538 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Sun, 8 Jul 2018 21:22:09 +0300 Subject: [PATCH] _taskId missed once --- server/src/controllers/analytics_controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/controllers/analytics_controller.ts b/server/src/controllers/analytics_controller.ts index 23f3209..1b29294 100644 --- a/server/src/controllers/analytics_controller.ts +++ b/server/src/controllers/analytics_controller.ts @@ -28,7 +28,7 @@ async function runTask(task): Promise { targets: anomaly.metric.targets.map(getTarget) }; - task._task_id = nextTaskId++; + task._taskId = nextTaskId++; await analyticsService.sendTask(task); return new Promise(resolve => {