Commit 499687916fec256f9f5439cc8479674da2ce180d
Adds reason to position
Piet Geursen committed on 5/4/2018, 12:21:45 AMParent: 93f07a763a343ca82ca09a11f97e03eeef7e4283
Files changed
poll/async/get.js | changed |
poll/async/get.js | ||
---|---|---|
@@ -115,8 +115,9 @@ | ||
115 | 115 | var poll = getContent(rawPoll) |
116 | 116 | |
117 | 117 | // NOTE this isn't deep enough to be a safe clone |
118 | 118 | var newPosition = Object.assign({}, rawPosition) |
119 | + newPosition.reason = position.reason | |
119 | 120 | |
120 | 121 | if (isPoll.chooseOne(poll)) { |
121 | 122 | var choiceIndex = position.details.choice |
122 | 123 | newPosition.choice = poll.details.choices[choiceIndex] |
Built with git-ssb-web