mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:33:08 +02:00
Update migrate.ts
This commit is contained in:
parent
8e344f2deb
commit
c58afc67e8
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue