flykup_model_development 1.0.2 → 1.0.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.
@@ -128,5 +128,5 @@ totalReviews: { type: Number, default: 0 }
128
128
  // ProductListingSchema.set('strict', false); // Use with caution
129
129
 
130
130
  // Safe export to prevent OverwriteModelError
131
- const ProductListing = mongoose.models.ProductListing || mongoose.model("productlistings", ProductListingSchema);
131
+ const ProductListing = mongoose.models.productlistings || mongoose.model("productlistings", ProductListingSchema);
132
132
  export default ProductListing;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,