process delete like get
This commit is contained in:
parent
198f991de5
commit
a367bbd80b
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue