@things-factory/product-base 7.1.25 → 7.1.33

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": "@things-factory/product-base",
3
- "version": "7.1.25",
3
+ "version": "7.1.33",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,9 +24,9 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/biz-base": "^7.1.24",
27
+ "@things-factory/biz-base": "^7.1.33",
28
28
  "@things-factory/env": "^7.1.16",
29
- "@things-factory/routing-base": "^7.1.24"
29
+ "@things-factory/routing-base": "^7.1.33"
30
30
  },
31
- "gitHead": "99180f1ee824d20cd9521b432c3a2bdd1f600354"
31
+ "gitHead": "da463a7d7851cf47c7d4b8136e7be6690b55969e"
32
32
  }
@@ -333,7 +333,7 @@ export async function updateProduct(id: string, patch, context) {
333
333
  })
334
334
 
335
335
  if (patch.productRef && patch.productRef.id) {
336
- patch.productRef = await productRepo.findOne(patch.productRef.id)
336
+ patch.productRef = await productRepo.findOne({ where: { id: patch.productRef.id } })
337
337
  }
338
338
 
339
339
  let bizplace: Bizplace