@b2y/ecommerce-common 1.3.2 → 1.3.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.
@@ -177,10 +177,10 @@ const initializeModels = (sequelize) => {
177
177
  as: "AttributeValue",
178
178
  });
179
179
 
180
- ProductVariant.hasOne(PackagingBox, {
180
+ ProductVariant.belongsTo(PackagingBox, {
181
181
  foreignKey: "PackagingBoxID",
182
182
  as: "PackagingBox"
183
- })
183
+ });
184
184
 
185
185
  // Product and ProductGroup Association
186
186
  // Many-to-One
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b2y/ecommerce-common",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "E-commerce common library",
5
5
  "main": "index.js",
6
6
  "scripts": {