diff --git a/apps/app.js b/apps/app.js index e20d812..b4b077f 100644 --- a/apps/app.js +++ b/apps/app.js @@ -11,7 +11,7 @@ import { dbConfig } from '../private/config.js'; const router = express.Router(); -router.get(`/version`, async (req, res) => { +router.get('/version', async (req, res) => { try { const connection = await createDatabaseConnection(dbConfig); const [rows] = await connection.query('SELECT * FROM version'); diff --git a/package.json b/package.json index 105d852..c20e17b 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "author": "Team.Stein", "license": "ISC", "dependencies": { - "express": "^4.19.2" + "express": "^4.19.2", + "swagger-jsdoc": "^6.2.8", } } \ No newline at end of file