process delete like get

This commit is contained in:
hatim boufnichel 2021-05-20 20:26:41 +02:00
parent 198f991de5
commit a367bbd80b

View file

@ -339,7 +339,7 @@ module.exports = async (
return res.status(401).json(error) return res.status(401).json(error)
} }
if (req.method === 'GET') { if (req.method === 'GET' || req.method === 'DELETE') {
return next() return next()
} }