diff --git a/app.js b/app.js index 1b3aa41..dbcfbff 100644 --- a/app.js +++ b/app.js @@ -109,7 +109,7 @@ app.get('/metrics', async (req, res) => { res.end(await prom.prometheus.register.metrics()); }); -app.post('/case/sign-off', signoffController.addSignoff); +app.post(`/case/${urls.signoff}`, signoffController.addSignoff); app.get(`/case/:caseIdentifier/${urls.signoff}`, signoffController.getSignoff); app.use(errorHandler);