Phase 5 + all remaining
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const express = require('express');
|
||||
import express from 'express';
|
||||
import { getDbConnection, getCachedQuery } from '../db/connection.js';
|
||||
|
||||
const router = express.Router();
|
||||
const { getDbConnection, getCachedQuery } = require('../db/connection');
|
||||
|
||||
// Test endpoint to count orders
|
||||
router.get('/order-count', async (req, res) => {
|
||||
@@ -54,4 +55,4 @@ router.get('/test-connection', async (req, res) => {
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
export default router;
|
||||
Reference in New Issue
Block a user