LOA-Upgrades #64

Merged
Ajdj100 merged 15 commits from LOA-Upgrades into main 2025-12-11 19:50:15 -06:00
Showing only changes of commit 3835f22940 - Show all commits

View File

@@ -13,8 +13,6 @@ router.post("/", async (req: Request, res: Response) => {
LOARequest.created_by = req.user.id;
LOARequest.filed_date = new Date();
console.log(LOARequest);
try {
await createNewLOA(LOARequest);
res.sendStatus(201);
@@ -142,7 +140,7 @@ router.get('/policy', async (req: Request, res: Response) => {
const out = await output.json();
res.status(200).json(out.html);
} else {
console.log("BAD");
console.error("Failed to fetch LOA policy from bookstack");
res.sendStatus(500);
}
})