Skip to content

Commit

Permalink
remove ;
Browse files Browse the repository at this point in the history
  • Loading branch information
bgv2 committed May 22, 2024
1 parent 2c708b2 commit 62aa49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import sqlite3 from 'sqlite3'
import { promisify } from 'util'
import { rateLimit } from 'express-rate-limit'
import { resolve, dirname } from 'path'
import { fileURLToPath } from 'url';
import { fileURLToPath } from 'url'

const __dirname = dirname(fileURLToPath(import.meta.url))
const dbPath = resolve(__dirname, '../node_modules/quotobot/db/quotes.db');
const dbPath = resolve(__dirname, '../node_modules/quotobot/db/quotes.db')
const db = sqlite3.cached.Database(dbPath, sqlite3.OPEN_READONLY)
const dbGet = promisify(db.get).bind(db)

Expand Down

0 comments on commit 62aa49e

Please sign in to comment.