payservedb 3.1.2 → 3.1.3

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": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -37,4 +37,7 @@ const CountryTaxRateSchema = new mongoose.Schema({
37
37
  // Add compound index to ensure unique tax type per facility
38
38
  CountryTaxRateSchema.index({ facilityId: 1, taxType: 1 }, { unique: true });
39
39
 
40
- module.exports = CountryTaxRateSchema;
40
+ // Register the model
41
+ const CountryTaxRate = mongoose.model('CountryTaxRate', CountryTaxRateSchema);
42
+
43
+ module.exports = CountryTaxRate;