From 5f603aa40d0448431c2016ad769329dca243508b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 3 Oct 2024 19:36:29 +0200 Subject: [PATCH] Lint migration --- src/migrations/003-populate-sql.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()); } /**