Skip to content

Commit

Permalink
amend remove hold route (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
samplackett authored Jan 20, 2025
1 parent 7611cf9 commit e1563eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/routes/holds.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ module.exports = [
options: {
auth: { scope: [holdAdmin] },
handler: async (request, h) => {
await post(VIEWS.REMOVE, { holdId: request.payload.holdId })
await post(ROUTES.REMOVE, { holdId: request.payload.holdId })
return h.redirect('/')
}
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffc-pay-web",
"version": "1.20.21",
"version": "1.20.22",
"description": "FFC payment management service",
"homepage": "https://github.com/DEFRA/ffc-pay-web",
"main": "app/index.js",
Expand Down

0 comments on commit e1563eb

Please sign in to comment.