git ssb

0+

Piet / ssb-loomio



Tree: f81bab2f5e5f60995b99ed6d9b588e91f0c47d1f

Files: f81bab2f5e5f60995b99ed6d9b588e91f0c47d1f / position / sync / chooseOne.js

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

Built with git-ssb-web