diff --git a/src/routes.js b/src/routes.js index e0081722..313c4e65 100644 --- a/src/routes.js +++ b/src/routes.js @@ -339,7 +339,7 @@ module.exports = async ( return res.status(401).json(error) } - if (req.method === 'GET') { + if (req.method === 'GET' || req.method === 'DELETE') { return next() }