git ssb

0+

Piet / ssb-loomio



Tree: ff7663e73e7aedeb75242d658e91bb048df0253f

Files: ff7663e73e7aedeb75242d658e91bb048df0253f / poll / sync / chooseOne.js

328 bytesRaw
1const Poll = require('./poll')
2const { chooseOneType } = require('../types')
3
4function ChooseOne ({ choices, title, body, channel, recps, mentions }) {
5 return Poll({
6 pollDetails: {
7 choices,
8 type: chooseOneType
9 },
10 title,
11 body,
12 channel,
13 recps,
14 mentions
15 })
16}
17
18module.exports = ChooseOne
19

Built with git-ssb-web