Skip to content

Commit

Permalink
Lint migration
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Oct 3, 2024
1 parent a5814fc commit 5f603aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/migrations/003-populate-sql.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -232,7 +232,7 @@ async function up({ context: uw }) {
}
}
})
.finally(() => mongo.disconnect());
.finally(() => mongo.disconnect());
}

/**
Expand Down

0 comments on commit 5f603aa

Please sign in to comment.