We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2156cb4 commit c4619ebCopy full SHA for c4619eb
populateDb.ts
@@ -60,7 +60,7 @@ const createVote = (userId: string, pollId: string): Promise<Vote> => {
60
return app.service('votes').create({
61
pollId,
62
which: _.sample(choices)
63
- }, { user: { _id: userId } });
+ }, { user: { _id: userId }, authenticated: true });
64
};
65
66
0 commit comments