Browse Source

_taskId missed once

pull/1/head
Alexey Velikiy 6 years ago
parent
commit
821ce12912
  1. 2
      server/src/controllers/analytics_controller.ts

2
server/src/controllers/analytics_controller.ts

@ -28,7 +28,7 @@ async function runTask(task): Promise<any> {
targets: anomaly.metric.targets.map(getTarget) targets: anomaly.metric.targets.map(getTarget)
}; };
task._task_id = nextTaskId++; task._taskId = nextTaskId++;
await analyticsService.sendTask(task); await analyticsService.sendTask(task);
return new Promise<void>(resolve => { return new Promise<void>(resolve => {

Loading…
Cancel
Save