git ssb

0+

Piet / ssb-loomio



Tree: 07a5f24f2034628892c7c9ed0782b63b30fc7911

Files: 07a5f24f2034628892c7c9ed0782b63b30fc7911 / position / sync / chooseOne.js

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

Built with git-ssb-web