payservedb 6.7.6 → 6.7.7

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": "6.7.6",
3
+ "version": "6.7.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@ const powerMeterDailyReadingSchema = new mongoose.Schema({
19
19
  },
20
20
  status: {
21
21
  type: String,
22
- enum: ['on', 'off', 'maintenance', 'faulty'],
23
- default: 'on',
22
+ enum: ['On', '0ff', 'Maintenance', 'Faulty'],
23
+ default: 'On',
24
24
  }
25
25
  }, {
26
26
  timestamps: true
@@ -6,7 +6,7 @@ const powerMeterSingleDayReadingSchema = new mongoose.Schema({
6
6
  ref: 'PowerMeter',
7
7
  required: true
8
8
  },
9
- date: {
9
+ date: {
10
10
  type: String,
11
11
  required: true
12
12
  },
@@ -17,8 +17,8 @@ const powerMeterSingleDayReadingSchema = new mongoose.Schema({
17
17
  },
18
18
  status: {
19
19
  type: String,
20
- enum: ['on', 'off', 'maintenance', 'faulty'],
21
- default: 'on',
20
+ enum: ['On', '0ff', 'Maintenance', 'Faulty'],
21
+ default: 'On',
22
22
  },
23
23
  time: {
24
24
  type: String,