diff --git a/js/src/redux/providers/signerMiddleware.js b/js/src/redux/providers/signerMiddleware.js index 2216861704f..53144e45441 100644 --- a/js/src/redux/providers/signerMiddleware.js +++ b/js/src/redux/providers/signerMiddleware.js @@ -68,11 +68,11 @@ export default class SignerMiddleware { }); } - onRejectStart = (store, next, action) => { + onRejectStart = (store, action) => { const id = action.payload; this._api.personal - .personal_rejectRequest(id) + .rejectRequest(id) .then(() => { store.dispatch(actions.successRejectRequest({ id })); })