Skip to content

Commit

Permalink
add missing logger passing in /api/outlook
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Bladen-Clark authored and maxcbc committed Oct 17, 2023
1 parent 96ee1e9 commit bd4177d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/api/outlook.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
options: {
description: 'Get outlook geojson data from cache',
handler: async request => {
const { geoJson } = new OutlookModel(await request.server.methods.flood.getOutlook())
const { geoJson } = new OutlookModel(await request.server.methods.flood.getOutlook(), request.logger)
return geoJson
},
app: {
Expand Down

0 comments on commit bd4177d

Please sign in to comment.