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