From f01d74c6c75afb26516cada4ca2c5de1239feac3 Mon Sep 17 00:00:00 2001 From: ReuschelCGN <82573872+ReuschelCGN@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:20:20 +0100 Subject: [PATCH] Update apiTrackingMonster.js --- src/routes/apiTrackingMonster.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/routes/apiTrackingMonster.js b/src/routes/apiTrackingMonster.js index b3921cf36..aa694fd73 100644 --- a/src/routes/apiTrackingMonster.js +++ b/src/routes/apiTrackingMonster.js @@ -3,7 +3,7 @@ const { diff } = require('deep-object-diff') const trackedCommand = require('../lib/poracleMessage/commands/tracked') const tracked = require('../lib/poracleMessage/commands/tracked') -module.exports = async (fastify, options, next) => { +module.exports = async (fastify, options) => { fastify.get('/api/tracking/pokemon/:id', options, async (req) => { fastify.logger.info(`API: ${req.ip} ${req.routeOptions.method} ${req.routeOptions.url}`) @@ -276,6 +276,4 @@ module.exports = async (fastify, options, next) => { status: 'ok', } }) - - next() }