Commit 44d16cc8e3faae638d0ecc2946f300056bc06322
Passes test
Piet Geursen committed on 3/5/2018, 12:49:48 AMParent: 3c9734dbc87863e2373fcdfa511441b061e7a813
Files changed
poll/sync/chooseOne.js | changed |
poll/sync/chooseOne.js | ||
---|---|---|
@@ -1,12 +1,12 @@ | ||
1 | 1 | const Poll = require('./poll') |
2 | -const { chooseOneType } = require('../../types') | |
2 | +const { chooseOnePollType } = require('../../types') | |
3 | 3 | |
4 | 4 | function ChooseOne ({ choices, title, closesAt, body, channel, recps, mentions }) { |
5 | 5 | return Poll({ |
6 | 6 | pollDetails: { |
7 | 7 | choices, |
8 | - type: chooseOneType | |
8 | + type: chooseOnePollType | |
9 | 9 | }, |
10 | 10 | title, |
11 | 11 | closesAt, |
12 | 12 | body, |
Built with git-ssb-web