Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PaneruVipin authored Dec 22, 2022
1 parent b2f4ec0 commit 3149e1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ const signupValidator={
name: "string | required",
email: "string | required | email | trim",
password: "string | minLength: 8 | maxLength: 16",
age:"number | range: 20-30"
age: "number | range: 20-100",
role: "defaultValue : user",
created_at: "defaultValue :"+ new Date(),
updated_at: "defaultValue:"+ new Date()
}

router.post("/signup", (req,res,next)=>{
Expand Down

0 comments on commit 3149e1a

Please sign in to comment.