fix an error code

This commit is contained in:
May 2023-09-02 15:29:05 -07:00
parent ec42d61bf7
commit ed9d7b5f8b

View file

@ -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
}