payservedb 5.5.3 → 5.5.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/index.js CHANGED
@@ -70,7 +70,7 @@ const models = {
70
70
  AuditLog: require('./src/models/auditlog'),
71
71
  Company: require('./src/models/company'),
72
72
  Customer: require('./src/models/customer'),
73
- Email: require('./src/models/email'),
73
+ FacilityEmailDetails: require('./src/models/email'),
74
74
  Module: require('./src/models/module'),
75
75
  Facility: require('./src/models/facility'),
76
76
  RefreshToken: require('./src/models/refresh_token'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "5.5.3",
3
+ "version": "5.5.4",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,5 +1,5 @@
1
1
  const mongoose = require('mongoose');
2
- const EmailSchema = mongoose.Schema({
2
+ const FacilityEmailDetailsSchema = mongoose.Schema({
3
3
  host: {
4
4
  type: String,
5
5
  required: true
@@ -34,5 +34,5 @@ const EmailSchema = mongoose.Schema({
34
34
  required: true
35
35
  }
36
36
  })
37
- const Email = mongoose.model('Email', EmailSchema);
38
- module.exports = Email
37
+ const FacilityEmailDetails = mongoose.model('FacilityEmailDetails', FacilityEmailDetailsSchema);
38
+ module.exports = FacilityEmailDetails