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 Feb 23, 2024
1 parent 2f9e081 commit 36d05be
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 @@ -216,7 +216,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 36d05be

Please sign in to comment.