Skip to content

Commit

Permalink
Fix bug introduced when fixing merge conflicts (#1022)
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4439

Whilst sorting out some merge conflicts in this PR #987 a bug was introduced. The bug was caused by `yar` no longer being sent to the `charge-reference-details` service.

This PR fixes that issue.
  • Loading branch information
Jozzey authored May 15, 2024
1 parent 41c0a1d commit 7745499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/bill-runs.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function cancel (request, h) {
async function chargeReferenceDetails (request, h) {
const { id: billRunId, licenceId, reviewChargeReferenceId } = request.params

const pageData = await ChargeReferenceDetailsService.go(billRunId, licenceId, reviewChargeReferenceId)
const pageData = await ChargeReferenceDetailsService.go(billRunId, licenceId, reviewChargeReferenceId, request.yar)

return h.view('bill-runs/charge-reference-details.njk', {
pageTitle: 'Charge reference details',
Expand Down

0 comments on commit 7745499

Please sign in to comment.