From 62aa49e438d5a27e6456b7031e89a1b67c1c1c90 Mon Sep 17 00:00:00 2001 From: "." <26331505+ed789d0@users.noreply.github.com> Date: Wed, 22 May 2024 19:30:39 -0400 Subject: [PATCH] remove ; --- api/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/index.js b/api/index.js index e444813..e7bffca 100644 --- a/api/index.js +++ b/api/index.js @@ -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)