Commit cd3428fe2ad19111fa2a992ad2160dd3ce30ca85
Name the function
Piet Geursen committed on 3/7/2018, 1:06:53 AMParent: 306a27bb28f6bbbcdede609146d7259018493d5d
Files changed
position/sync/chooseOneResults.js | changed |
position/sync/chooseOneResults.js | ||
---|---|---|
@@ -10,9 +10,9 @@ | ||
10 | 10 | // } |
11 | 11 | // } |
12 | 12 | // |
13 | 13 | // postions must be of the correct type ie: type checked by the caller. |
14 | -module.exports = function ({positions, poll}) { | |
14 | +module.exports = function chooseOneResults ({positions, poll}) { | |
15 | 15 | return positions.reduce(function (results, position) { |
16 | 16 | const { value: {author} } = position |
17 | 17 | const { positionDetails: {choice} } = Position(position) |
18 | 18 |
Built with git-ssb-web