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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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: true
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: true
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: true
170
+ required: false
171
171
  },
172
172
  qrCode: {
173
173
  type: Boolean,