diff --git a/package.json b/package.json index f8d50c9..2bc3f64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sn-redux", - "version": "3.4.1", + "version": "3.4.2", "description": "A set of redux actions, reducers and redux-ovbservable epics for Sense/Net ECM", "main": "dist/src/sn-redux.js", "scripts": { @@ -86,7 +86,7 @@ "redux-observable": "^0.16.0", "semantic-release": "^8.0.0", "sn-client-auth-google": "^1.0.0", - "sn-client-js": "^3.0.0", + "sn-client-js": "^3.0.1", "tslint": "^5.6.0", "typedoc": "^0.9.0", "typedoc-md-theme": "^1.0.1", diff --git a/src/Epics.ts b/src/Epics.ts index 3b09591..c7ff39b 100644 --- a/src/Epics.ts +++ b/src/Epics.ts @@ -112,7 +112,7 @@ export module Epics { return action$.ofType('LOAD_CONTENT_ACTIONS') .mergeMap(action => { let c = dependencies.repository.HandleLoadedContent(action.content, ContentTypes.GenericContent); - return c.Actions(action.scenario) + return c.GetActions(action.scenario) .map(result => Actions.ReceiveContentActions(result)) .catch(error => Observable.of(Actions.ReceiveContentActionsFailure(error))) }) @@ -433,7 +433,7 @@ export module Epics { return action$.ofType('REQUEST_CONTENT_ACTIONS') .mergeMap(action => { let c = dependencies.repository.HandleLoadedContent(action.content, ContentTypes.GenericContent); - return c.Actions(action.scenario) + return c.GetActions(action.scenario) .map(result => Actions.RequestContentActionsSuccess([...result, ...action.customItems], action.content.Id)) .catch(error => Observable.of(Actions.RequestContentActionsFailure(error))) })