git ssb

0+

Piet / ssb-loomio



Tree: 1370996e72773275a544e0bdd26ee0f6db0e49d8

Files: 1370996e72773275a544e0bdd26ee0f6db0e49d8 / position / sync / chooseOne.js

323 bytesRaw
1const Position = require('./position')
2const { CHOOSE_ONE } = require('../../types')
3
4function ChooseOne ({ poll, choice, reason, channel, mentions }) {
5 return Position({
6 poll,
7 positionDetails: {
8 type: CHOOSE_ONE,
9 choice
10 },
11 reason,
12 channel,
13 mentions
14 })
15}
16
17module.exports = ChooseOne
18

Built with git-ssb-web