Clean up
This commit is contained in:
parent
2a40240310
commit
c28f4ffb3f
8 changed files with 4 additions and 12 deletions
|
@ -72,7 +72,7 @@ export async function updateQuestion(value: any) {
|
|||
updatedAt: new Date(),
|
||||
});
|
||||
|
||||
await Polls.update(poll.id, {
|
||||
await Polls.update({ noteId: note.id }, {
|
||||
votes: poll.votes
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue