Skip to content
Snippets Groups Projects
Unverified Commit c58afc67 authored by syuilo's avatar syuilo
Browse files

Update migrate.ts

parent 8e344f2d
No related branches found
Tags 11.0.0-beta.3
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment