Skip to content

Commit

Permalink
pass options to fetchLocalAuthorities()
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Jan 17, 2025
1 parent bf78e9d commit 64213eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/lpaDetailsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fetchLocalAuthorities } from '../utils/datasetteQueries/fetchLocalAutho

class LpaDetailsController extends PageController {
async locals (req, res, next) {
const localAuthoritiesNames = await fetchLocalAuthorities()
const localAuthoritiesNames = await fetchLocalAuthorities({ req })

const listItems = localAuthoritiesNames.map(name => ({
text: name,
Expand Down

0 comments on commit 64213eb

Please sign in to comment.