diff --git a/src/migrations/003-populate-sql.cjs b/src/migrations/003-populate-sql.cjs index 7e5ec4e9..475143e2 100644 --- a/src/migrations/003-populate-sql.cjs +++ b/src/migrations/003-populate-sql.cjs @@ -203,14 +203,14 @@ async function up({ context: uw }) { historyEntryID: entryID, userID: idMap.get(id.toString()), vote: 1, - }) + }); } for (const id of entry.downvotes) { feedback.set(id.toString(), { historyEntryID: entryID, userID: idMap.get(id.toString()), vote: -1, - }) + }); } for (const id of entry.favorites) { const entry = feedback.get(id.toString()); @@ -232,7 +232,7 @@ async function up({ context: uw }) { } } }) - .finally(() => mongo.disconnect()); + .finally(() => mongo.disconnect()); } /**