diff options
author | rohan09-raj <rajrohan1914@gmail.com> | 2022-08-15 00:05:10 +0530 |
---|---|---|
committer | rohan09-raj <rajrohan1914@gmail.com> | 2022-08-15 00:05:10 +0530 |
commit | 5be7add30a629474c9269355b875ab310a82ba4c (patch) | |
tree | 9054e2463bdfa40e2681e87bc4ecc5100bdd37d0 /server | |
parent | be6c0da7c7435ad8e7e016b7e0c014150e907fff (diff) |
Added API for Enrollment process
Diffstat (limited to 'server')
-rw-r--r-- | server/models/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/users.js b/server/models/users.js index 3ae4db7..ddc0681 100644 --- a/server/models/users.js +++ b/server/models/users.js @@ -12,7 +12,7 @@ const userSchema = mongoose.Schema({ address: {type: String, required: true}, photo: {type: String, required: true}, documents: {type: Object, required: true}, - biometrics: {type: Object, required: true}, + biometrics: {type: Object, required: false}, createdAt: {type: Date, default: new Date()}, verified: {type: Boolean, default: false}, }); |