Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
fix(Disputes):flip param ordering in registerStoreUpdateEventListeners
Browse files Browse the repository at this point in the history
  • Loading branch information
satello committed Apr 13, 2018
1 parent ec3c392 commit 6ef04b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resources/Disputes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ class Disputes {

/**
* Method to register all dispute handlers to an EventListener.
* @param {object} eventListener - The EventListener instance. See utils/EventListener.js.
* @param {string} account - The address of the user.
* @param {object} eventListener - The EventListener instance. See utils/EventListener.js.
*/
registerStoreUpdateEventListeners = (
eventListener = isRequired('eventListener'),
account = isRequired('account')
account = isRequired('account'),
eventListener = isRequired('eventListener')
) => {
const eventHandlerMap = {
DisputeCreation: [this._storeNewDisputeHandler],
Expand Down

0 comments on commit 6ef04b9

Please sign in to comment.