Restructured services to support more... services

This commit is contained in:
2025-12-31 09:51:31 -05:00
parent c02e4e2851
commit 0e6a3c4a01
17 changed files with 58 additions and 34 deletions

View File

@@ -3,7 +3,7 @@ const router = express.Router();
import { Request, Response } from 'express';
import pool from '../db';
import { closeLOA, createNewLOA, getAllLOA, getLOAbyID, getLoaTypes, getUserLOA, setLOAExtension } from '../services/loaService';
import { closeLOA, createNewLOA, getAllLOA, getLOAbyID, getLoaTypes, getUserLOA, setLOAExtension } from '../services/db/loaService';
import { LOARequest } from '@app/shared/types/loa';
import { requireLogin, requireRole } from '../middleware/auth';