Skip to content

Commit

Permalink
consistenctly ref urlSlugs for endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
grapigeau committed Oct 31, 2023
1 parent d2e7efa commit cfcc556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cfcc556

Please sign in to comment.