Update migrate.ts

This commit is contained in:
syuilo 2019-04-10 20:13:14 +09:00
parent 6e5f82c7f9
commit 8a5b238e6a

View file

@ -255,7 +255,6 @@ async function main() {
if (note.poll) {
await Polls.save({
id: genId(),
noteId: note._id.toHexString(),
choices: note.poll.choices.map((x: any) => x.text),
expiresAt: note.poll.expiresAt,