fix: Unable to delete hosts and add nginx for terminal

This commit is contained in:
LukeGus
2025-11-14 12:59:50 -06:00
parent 8f7331a287
commit 842753aeec
3 changed files with 19 additions and 0 deletions

View File

@@ -862,6 +862,7 @@ router.get(
router.delete(
"/db/host/:id",
authenticateJWT,
requireDataAccess,
async (req: Request, res: Response) => {
const userId = (req as AuthenticatedRequest).userId;
const hostId = req.params.id;