Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanDamron committed Dec 7, 2024
1 parent c8752a5 commit ac3ca2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/db.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import pgPromise from "pg-promise"
import { wipeDB } from "./utils.js"
import { process } from "node:process"

const pgp = pgPromise({})

export const db = pgp(`postgres://postgres:${process.env.DRGON_POSTGRES_ADMIN_PASSWORD}@drgon-postgres:5433/drgon_db`)
export const db = pgp(`postgres://postgres:${process.env.DRGON_POSTGRES_ADMIN_PASSWORD}@drgon-postgres:5433/drgon_db`) // eslint-disable-line no-undef

db.connect()
.then(async (obj) => {
Expand Down

0 comments on commit ac3ca2f

Please sign in to comment.