Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Nov 7, 2024
1 parent 8704ef0 commit bdeaf82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/api/src/debug/populate-journal-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
* pnpm tsx src/debug/populate-journal-transactions.ts <starting_journal_id>
*/

import mongoose from "mongoose"

import { setupMongoConnection } from "@/services/mongodb"
import { Transaction } from "@/services/ledger/schema"
import mongoose from "mongoose"

const Journal = mongoose.connection.models["Medici_Journal"]

Expand All @@ -19,7 +20,7 @@ const populateJournalTransactions = async (startingJournalId: string) => {

let processedCount = 0
let updatedCount = 0
let startTime = Date.now()
const startTime = Date.now()

for await (const journal of journals) {
processedCount++
Expand Down

0 comments on commit bdeaf82

Please sign in to comment.