wip #6441
This commit is contained in:
parent
41b491fa7c
commit
c4c20bee7c
28 changed files with 44 additions and 40 deletions
|
|
@ -29,7 +29,7 @@ export default async function(user: User, note: Note, choice: number) {
|
|||
}
|
||||
|
||||
// Create vote
|
||||
await PollVotes.save({
|
||||
await PollVotes.insert({
|
||||
id: genId(),
|
||||
createdAt: new Date(),
|
||||
noteId: note.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue