payservedb 2.1.3 → 2.1.4
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
|
@@ -92,7 +92,7 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
92
92
|
unit: {
|
|
93
93
|
type: mongoose.Schema.Types.ObjectId,
|
|
94
94
|
ref: 'Unit',
|
|
95
|
-
required:
|
|
95
|
+
required: false
|
|
96
96
|
},
|
|
97
97
|
qrUniqueCode:
|
|
98
98
|
{
|
|
@@ -126,7 +126,7 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
126
126
|
unit: {
|
|
127
127
|
type: mongoose.Schema.Types.ObjectId,
|
|
128
128
|
ref: 'Unit',
|
|
129
|
-
required:
|
|
129
|
+
required: false
|
|
130
130
|
},
|
|
131
131
|
qrCode: {
|
|
132
132
|
type: Boolean,
|
|
@@ -167,7 +167,7 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
167
167
|
unit: {
|
|
168
168
|
type: mongoose.Schema.Types.ObjectId,
|
|
169
169
|
ref: 'Unit',
|
|
170
|
-
required:
|
|
170
|
+
required: false
|
|
171
171
|
},
|
|
172
172
|
qrCode: {
|
|
173
173
|
type: Boolean,
|