Skip to content

Commit c4619eb

Browse files
committed
fix: fake auth in populateDB script
1 parent 2156cb4 commit c4619eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

populateDb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const createVote = (userId: string, pollId: string): Promise<Vote> => {
6060
return app.service('votes').create({
6161
pollId,
6262
which: _.sample(choices)
63-
}, { user: { _id: userId } });
63+
}, { user: { _id: userId }, authenticated: true });
6464
};
6565

6666

0 commit comments

Comments
 (0)