Clean up
This commit is contained in:
parent
2a40240310
commit
c28f4ffb3f
8 changed files with 4 additions and 12 deletions
|
@ -398,7 +398,6 @@ async function insertNote(user: User, data: Option, tags: string[], emojis: stri
|
|||
|
||||
if (note.hasPoll) {
|
||||
await Polls.save({
|
||||
id: genId(),
|
||||
noteId: note.id,
|
||||
choices: data.poll.choices,
|
||||
expiresAt: data.poll.expiresAt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue