mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-24 22:56:26 -08:00
fix an error code
This commit is contained in:
parent
ec42d61bf7
commit
ed9d7b5f8b
|
@ -193,7 +193,7 @@ adminRoutes.post("/transfer", parser, (req,res) => {
|
|||
adminRoutes.post("/idchange", parser, (req,res) => {
|
||||
|
||||
if (typeof req.body.target !== "string" || typeof req.body.new !== "string") {
|
||||
res.status(404)
|
||||
res.status(400)
|
||||
res.send()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue