Skip to content

Commit

Permalink
mergeTraderStats
Browse files Browse the repository at this point in the history
  • Loading branch information
tacyarg committed Oct 5, 2019
1 parent f1542d3 commit abe90ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = ({
return list.reduce((memo, r) => {
console.log('mergeTraderStats', r)
try {
r.stats = traders.get(r.userid).getStats()
r.stats = traders.get(r.id).getStats()
memo.push(r)
return memo
} catch (e) {
Expand Down

0 comments on commit abe90ae

Please sign in to comment.