Skip to content

Commit

Permalink
Add authentification middleware to district postal code route
Browse files Browse the repository at this point in the history
  • Loading branch information
FLoreauIGN committed Apr 18, 2024
1 parent ab0d3e5 commit 8b9c5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/district/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ app.get('/cog/:cog', analyticsMiddleware, async (req, res) => {
res.send(response)
})

app.route('/codePostal')
app.route('/codePostal', auth)
.get(async (req, res) => {
let response
try {
Expand Down

0 comments on commit 8b9c5b7

Please sign in to comment.