payservedb 2.1.3 → 2.1.5
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 +6 -9
package/package.json
CHANGED
package/src/models/customer.js
CHANGED
|
@@ -90,9 +90,8 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
90
90
|
required: false
|
|
91
91
|
},
|
|
92
92
|
unit: {
|
|
93
|
-
type:
|
|
94
|
-
|
|
95
|
-
required: true
|
|
93
|
+
type: String,
|
|
94
|
+
required: false
|
|
96
95
|
},
|
|
97
96
|
qrUniqueCode:
|
|
98
97
|
{
|
|
@@ -124,9 +123,8 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
124
123
|
required: false,
|
|
125
124
|
},
|
|
126
125
|
unit: {
|
|
127
|
-
type:
|
|
128
|
-
|
|
129
|
-
required: true
|
|
126
|
+
type: String,
|
|
127
|
+
required: false
|
|
130
128
|
},
|
|
131
129
|
qrCode: {
|
|
132
130
|
type: Boolean,
|
|
@@ -165,9 +163,8 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
165
163
|
required: false
|
|
166
164
|
},
|
|
167
165
|
unit: {
|
|
168
|
-
type:
|
|
169
|
-
|
|
170
|
-
required: true
|
|
166
|
+
type: String,
|
|
167
|
+
required: false
|
|
171
168
|
},
|
|
172
169
|
qrCode: {
|
|
173
170
|
type: Boolean,
|