Skip to content

Commit

Permalink
fix field
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Oct 25, 2024
1 parent 0f7d2dc commit 956a27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ router.get("/dump", async (_, res) => {
router.post("/addUser", async (req, res) => {
const name: unknown = req.body.name
const username: unknown = req.body.username
const password: unknown = req.body.email
const password: unknown = req.body.password

if (!name) {
return res.status(400).json({ message: "Name is required" })
Expand Down

0 comments on commit 956a27a

Please sign in to comment.