Fix an invalid array insertion using append (this should be push)
Change-Id: I186ee7da0fec61797d53004dd1cfc5ec1133ca8e
diff --git a/package.json b/package.json
index ce2dc13..0c4b4e7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cord_workflow_controller",
- "version": "0.5.3",
+ "version": "0.5.4",
"description": "CORD Workflow Controller",
"main": "src/server.js",
"scripts": {
diff --git a/src/controllers/ws_manager.js b/src/controllers/ws_manager.js
index 539c415..29ae8b5 100644
--- a/src/controllers/ws_manager.js
+++ b/src/controllers/ws_manager.js
@@ -453,7 +453,7 @@
// there must be a workflow matching
// set workflow status
let result = eventrouter.setWorkflowRunStatus(workflowRunId, status);
- results.append(result);
+ results.push(result);
});
cb(null, results);