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

Merge release/3.0.1 branch (#35) #36

Merged
merged 1 commit into from
Aug 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sn-redux",
"version": "3.0.0",
"version": "3.0.1",
"description": "A set of redux actions, reducers and redux-ovbservable epics for Sense/Net ECM",
"main": "dist/src/sn-redux.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export module Epics {
return result === Authentication.LoginState.Authenticated ?
Actions.UserLoginSuccess(result)
:
Actions.UserLoginFailure({ message: 'Failed to log in.' });
Actions.UserLoginFailure({ message: null });
})
})
}
Expand Down
2 changes: 1 addition & 1 deletion test/EpicsTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ describe('Epics', () => {
store.dispatch({ type: 'CHECK_LOGIN_STATE_REQUEST' });
expect(store.getActions()).to.be.deep.eq([
{ type: 'CHECK_LOGIN_STATE_REQUEST' },
{ type: 'USER_LOGIN_FAILURE', message: 'Failed to log in.' }]);
{ type: 'USER_LOGIN_FAILURE', message: null }]);
})
});
});