Skip to content

Commit

Permalink
fix an error code
Browse files Browse the repository at this point in the history
  • Loading branch information
nbitzz committed Sep 2, 2023
1 parent ec42d61 commit ed9d7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routes/adminRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ed9d7b5

Please sign in to comment.