Files: 07a5f24f2034628892c7c9ed0782b63b30fc7911 / position / sync / chooseOne.js
341 bytesRaw
1 | const Postion = require('./position') |
2 | const { chooseOnePositionType } = require('../../types') |
3 | |
4 | function 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 | |
17 | module.exports = ChooseOne |
18 |
Built with git-ssb-web