From 3149e1a1ecafa6cc16498fd49b22b0ce6039efe7 Mon Sep 17 00:00:00 2001 From: Vipin Paneru <102546189+PaneruVipin@users.noreply.github.com> Date: Thu, 22 Dec 2022 16:31:10 +0530 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3ba0fe..7829ab0 100644 --- a/README.md +++ b/README.md @@ -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)=>{