Closed picklechips closed 5 years ago
Creates the polls model & adds it as a media type.
A poll is structured like the following:
title: String, multiSelect: Boolean, options: { text: String, usersVoted: [ UserID ] }
With the following restrictions validated on save:
multiSelect
Original PR: https://github.com/picklechips/skybunk-server/pull/1
Creates the polls model & adds it as a media type.
A poll is structured like the following:
With the following restrictions validated on save:
multiSelect
is true, then no user can have a vote on more than one optionOriginal PR: https://github.com/picklechips/skybunk-server/pull/1