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 +1 -1
- package/src/models/customer.js +3 -3
package/package.json
CHANGED
package/src/models/customer.js
CHANGED
|
@@ -91,7 +91,7 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
91
91
|
},
|
|
92
92
|
unit:{
|
|
93
93
|
type: String,
|
|
94
|
-
required:
|
|
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:
|
|
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:
|
|
167
|
+
required: false
|
|
168
168
|
},
|
|
169
169
|
qrCode: {
|
|
170
170
|
type: Boolean,
|