Converted more stuff to support TS

This commit is contained in:
2025-10-19 00:06:49 -04:00
parent e2a147d1e2
commit e6016a19bb
12 changed files with 113 additions and 46 deletions

View File

@@ -1,8 +1,7 @@
const express = require('express');
const router = express.Router();
// DB pool (same as used in api/index.js)
const pool = require('../db');
import pool from '../db';
//post a new LOA
router.post("/", async (req, res) => {