git ssb

0+

Piet / ssb-loomio



Tree: be47c4200236fb818783a444f2a01b0707ec0a46

Files: be47c4200236fb818783a444f2a01b0707ec0a46 / position / async / chooseOne.js

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

Built with git-ssb-web