From e90d7ada1e883ab9c96528dcb47048089c89f6fc Mon Sep 17 00:00:00 2001 From: Tom Coombs Date: Thu, 15 Aug 2024 20:07:59 -0400 Subject: [PATCH] fixed dossier messages --- controllers/TrainingController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/TrainingController.js b/controllers/TrainingController.js index 20a7086..49116b9 100644 --- a/controllers/TrainingController.js +++ b/controllers/TrainingController.js @@ -441,7 +441,7 @@ async (req, res) => { await req.app.dossier.create({ by: res.user.cid, - affected: req.params.cid, + affected: req.params.id, action: `%b issued a Solo Certificate for ` + req.body.position + ` for %a.` }); @@ -484,7 +484,7 @@ async (req, res) => { await req.app.dossier.create({ by: res.user.cid, - affected: req.params.cid, + affected: req.params.id, action: `%b deleted a Solo Certificate for ` + req.body.position + ` for %a.` });