@things-factory/sales-base 6.2.15 → 6.2.18

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/sales-base",
3
- "version": "6.2.15",
3
+ "version": "6.2.18",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -26,15 +26,15 @@
26
26
  "dependencies": {
27
27
  "@things-factory/attachment-base": "^6.2.15",
28
28
  "@things-factory/auth-base": "^6.2.15",
29
- "@things-factory/biz-base": "^6.2.15",
29
+ "@things-factory/biz-base": "^6.2.18",
30
30
  "@things-factory/code-base": "^6.2.15",
31
- "@things-factory/integration-sftp": "^6.2.15",
31
+ "@things-factory/integration-sftp": "^6.2.18",
32
32
  "@things-factory/notification": "^6.2.15",
33
- "@things-factory/product-base": "^6.2.15",
33
+ "@things-factory/product-base": "^6.2.18",
34
34
  "@things-factory/setting-base": "^6.2.15",
35
35
  "@things-factory/shell": "^6.2.15",
36
- "@things-factory/transport-base": "^6.2.15",
37
- "@things-factory/warehouse-base": "^6.2.15"
36
+ "@things-factory/transport-base": "^6.2.18",
37
+ "@things-factory/warehouse-base": "^6.2.18"
38
38
  },
39
- "gitHead": "262fa72c069ac8745dd16acd695d0e87331fbc14"
39
+ "gitHead": "57fb4d935b1a9e13989d2eb12dd39a1fc6675a14"
40
40
  }
@@ -2,7 +2,6 @@ import type { FileUpload } from 'graphql-upload/GraphQLUpload.js'
2
2
  import GraphQLUpload from 'graphql-upload/GraphQLUpload.js'
3
3
  import { Arg, Ctx, Directive, Mutation, Resolver } from 'type-graphql'
4
4
  import { EntityManager, getConnection, In, Not, Repository } from 'typeorm'
5
- import { logger } from '@things-factory/env'
6
5
 
7
6
  import { Attachment, createAttachments } from '@things-factory/attachment-base'
8
7
  import { ApplicationType, Partner, Role, User } from '@things-factory/auth-base'
@@ -14,6 +13,7 @@ import {
14
13
  getOutletBizplace,
15
14
  getPermittedBizplaces
16
15
  } from '@things-factory/biz-base'
16
+ import { logger } from '@things-factory/env'
17
17
  import { generateId } from '@things-factory/id-rule-base'
18
18
  import { MarketplaceStore } from '@things-factory/integration-marketplace'
19
19
  import { Sellercraft, SellercraftStatus } from '@things-factory/integration-sellercraft'
@@ -455,7 +455,7 @@ export async function generateReleaseGoodFunction(
455
455
 
456
456
  if (releaseGood.deliverTo) {
457
457
  const deliverTo: ContactPoint = await tx.getRepository(ContactPoint).findOne({
458
- where: { bizplace: { id: releaseGood.deliverTo.id }, domain: { id: domain.id } },
458
+ where: { id: releaseGood.deliverTo.id },
459
459
  relations: ['bizplace']
460
460
  })
461
461