Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Merge release/3.4.2 #58

Merged
merged 12 commits into from
Dec 5, 2017
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/Epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
})
Expand Down Expand Up @@ -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)))
})
Expand Down