Skip to content

Commit 72f44f8

Browse files
committed
add todo
1 parent fd2c826 commit 72f44f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/graphql/resolvers/Vote.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88

99
Mutation: {
1010
vote: async (parent, { procedure, selection }, { VoteModel, user }) => {
11+
// TODO check if procedure is votable
1112
let vote = await VoteModel.findOne({ procedure });
1213
if (!vote) {
1314
console.log('### Create new Vote Instance');

0 commit comments

Comments
 (0)