Skip to content

Commit

Permalink
fix update-ip-lock-on call
Browse files Browse the repository at this point in the history
  • Loading branch information
salomegeo committed May 4, 2018
1 parent fc7c5a8 commit ad60dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blockchain-wallet-v4/src/redux/settings/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default ({ api }) => {
const setIpLockOn = function * ({ ipLockOn }) {
const guid = yield select(wS.getGuid)
const sharedKey = yield select(wS.getSharedKey)
const response = yield call(api.updateIpLockOn, guid, sharedKey, String(ipLockOn))
const response = yield call(api.updateIpLockOn, guid, sharedKey, String(Boolean(ipLockOn)))
if (!contains('Updated IP Lock Settings', response)) { throw new Error(response) }
yield put(actions.setIpLockOn(ipLockOn))
}
Expand Down

0 comments on commit ad60dc5

Please sign in to comment.