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