Skip to content

Commit

Permalink
Housekeeping - pluralise function name
Browse files Browse the repository at this point in the history
Now matches the fact we expect multiple values back and the variable name.
  • Loading branch information
Cruikshanks committed Jun 24, 2024
1 parent aa3068e commit 042d92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/presenters/licences/view-licence-summary.presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function go (licence, licenceAbstractionConditions) {
const licenceVersionPurposes = _licenceVersionPurposes(licence)

const purposes = _generatePurposes(licenceVersionPurposes)
const monitoringStations = _generateMonitoringStation(licenceGaugingStations)
const monitoringStations = _generateMonitoringStations(licenceGaugingStations)
const abstractionData = _abstractionWrapper(
licenceAbstractionConditions,
licenceVersionPurposes,
Expand Down Expand Up @@ -146,7 +146,7 @@ function _generateLicenceHolder (licence) {
return licenceHolder
}

function _generateMonitoringStation (licenceGaugingStations) {
function _generateMonitoringStations (licenceGaugingStations) {
return licenceGaugingStations.map((licenceGaugingStation) => {
return licenceGaugingStation.gaugingStation
})
Expand Down

0 comments on commit 042d92b

Please sign in to comment.