From a61abd191ed7773f35c94c28b3847ab6e494928f Mon Sep 17 00:00:00 2001 From: Servio Palacios Date: Thu, 7 Mar 2019 14:24:53 -0500 Subject: [PATCH] [new cerebral module lib] - [operator.delete] --- package.json | 2 +- src/sequences.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 848824d..49ac48a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oada/operators-module", - "version": "0.3.1", + "version": "0.3.2", "description": "cerebral module for implementing operators from an oada-compliant server", "main": "./cerebral/index.js", "keywords": "operators", diff --git a/src/sequences.js b/src/sequences.js index 3a247c8..610b473 100644 --- a/src/sequences.js +++ b/src/sequences.js @@ -102,7 +102,8 @@ export const deleteOperator = sequence("operators.deleteOperator", [ connection_id: state.get("operators.connection_id"), tree, path: "/bookmarks/operators" - }) + }), + oada.delete ]); export const updateOperator = sequence("operators.updateOperator", [