payservedb 2.1.0 → 2.1.1

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": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -91,7 +91,7 @@ const CustomerSchema = new mongoose.Schema({
91
91
  },
92
92
  unit:{
93
93
  type: String,
94
- required: true
94
+ required: false
95
95
  },
96
96
  qrUniqueCode:
97
97
  {
@@ -124,7 +124,7 @@ const CustomerSchema = new mongoose.Schema({
124
124
  },
125
125
  unit:{
126
126
  type: String,
127
- required: true
127
+ required: false
128
128
  },
129
129
  qrCode: {
130
130
  type: Boolean,
@@ -164,7 +164,7 @@ const CustomerSchema = new mongoose.Schema({
164
164
  },
165
165
  unit:{
166
166
  type: String,
167
- required: true
167
+ required: false
168
168
  },
169
169
  qrCode: {
170
170
  type: Boolean,