From 135c2d6c7d47e325898aa852e1dbf4061dfdf84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 16 Oct 2020 20:21:32 -0400 Subject: [PATCH] Revert "fix: appropriate 404 handling for write API calls" This reverts commit b6cce75d974ed499c2c2e2330beafde35a530b27. --- src/routes/write/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/routes/write/index.js b/src/routes/write/index.js index dcb5995bf1..c4d864f08e 100644 --- a/src/routes/write/index.js +++ b/src/routes/write/index.js @@ -55,9 +55,4 @@ Write.reload = async (params) => { }); winston.info(`[api] Adding ${pluginRouter.stack.length} route(s) to \`api/v3/plugins\``); router.use('/api/v3/plugins', pluginRouter); - - // 404 handling - router.use('/api/v3', (req, res) => { - helpers.formatApiResponse(404, res); - }); };