This commit is contained in:
syuilo 2019-04-10 20:07:36 +09:00
parent 2a40240310
commit c28f4ffb3f
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
8 changed files with 4 additions and 12 deletions

View file

@ -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,