From c58afc67e854b12fd962e8b6d4f98879268c42c8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 10 Apr 2019 20:13:14 +0900 Subject: [PATCH] Update migrate.ts --- src/migrate.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/migrate.ts b/src/migrate.ts index f833ec180..3b010f89f 100644 --- a/src/migrate.ts +++ b/src/migrate.ts @@ -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,