Skip to content

Commit

Permalink
Update apiTrackingLure.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuschelCGN authored Jan 8, 2024
1 parent f84d6c8 commit 695c0cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/routes/apiTrackingLure.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { diff } = require('deep-object-diff')

const trackedCommand = require('../lib/poracleMessage/commands/tracked')

module.exports = async (fastify, options, next) => {
module.exports = async (fastify, options) => {
fastify.get('/api/tracking/lure/:id', options, async (req) => {
fastify.logger.info(`API: ${req.ip} ${req.routeOptions.method} ${req.routeOptions.url}`)

Expand Down Expand Up @@ -211,6 +211,4 @@ module.exports = async (fastify, options, next) => {
status: 'ok',
}
})

next()
}

0 comments on commit 695c0cd

Please sign in to comment.