git ssb

0+

Piet / ssb-loomio



Tree: 81f8f8f4fc3b67a1fc26efcfeebed05d1ed7c223

Files: 81f8f8f4fc3b67a1fc26efcfeebed05d1ed7c223 / position / sync / chooseOne.js

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

Built with git-ssb-web