mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Update migrate.ts
This commit is contained in:
parent
6e5f82c7f9
commit
8a5b238e6a
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