Commit 306a27bb28f6bbbcdede609146d7259018493d5d
Liiinter
Piet Geursen committed on 3/7/2018, 1:05:57 AMParent: 6722d5e0408124332904314dfb6c84ed5e98b49c
Files changed
position/sync/chooseOneResults.js | changed |
position/sync/chooseOneResults.js | ||
---|---|---|
@@ -12,9 +12,9 @@ | ||
12 | 12 | // |
13 | 13 | // postions must be of the correct type ie: type checked by the caller. |
14 | 14 | module.exports = function ({positions, poll}) { |
15 | 15 | return positions.reduce(function (results, position) { |
16 | - const { value: {author}} = position | |
16 | + const { value: {author} } = position | |
17 | 17 | const { positionDetails: {choice} } = Position(position) |
18 | 18 | |
19 | 19 | if (isInvalidChoice({position, poll}) || isPositionAfterClose({position, poll})) { |
20 | 20 | results.errors.invalidPositions.push(position) |
Built with git-ssb-web