payservedb 1.5.7 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -48,10 +48,7 @@ const visitLogSchema = new mongoose.Schema({
48
48
  required: false
49
49
 
50
50
  },
51
- visitationCodeExpiration: {
52
- type: Date,
53
- required: false
54
- },
51
+
55
52
  facilityId: {
56
53
  type: mongoose.Schema.Types.ObjectId,
57
54
  ref: 'Facility',
@@ -14,6 +14,10 @@ const visitorSchema = new mongoose.Schema({
14
14
  type: String,
15
15
  required: true
16
16
  },
17
+ email: {
18
+ type: String,
19
+ required: false
20
+ },
17
21
  idNumber: {
18
22
  type: String,
19
23
  required: true