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

Commit

Permalink
Fix eslint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed May 15, 2017
1 parent 8a80d24 commit 416c362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/services/api/delegateApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ app.factory('delegateService', Peers => ({
return Peers.sendRequestPromise('delegates/get', options);
},

vote({secret, publicKey, voteList, unvoteList, secondSecret = null}) {
vote({ secret, publicKey, voteList, unvoteList, secondSecret = null }) {
return Peers.sendRequestPromise('accounts/delegates', {
secret: secret,
publicKey: publicKey,
secret,
publicKey,
delegates: voteList.map(delegate => `+${delegate.publicKey}`).concat(
unvoteList.map(delegate => `-${delegate.publicKey}`),
),
secondSecret: secondSecret,
secondSecret,
});
},

Expand Down

0 comments on commit 416c362

Please sign in to comment.