Browse Source

fix(core): Fix injectable hooks on TaxLineCalculationStrategy (#1882)

Fixes #1871
Sebastian Geschke 3 years ago
parent
commit
77163eb9f7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/core/src/config/config.module.ts

+ 2 - 1
packages/core/src/config/config.module.ts

@@ -76,7 +76,7 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo
             passwordHashingStrategy,
             passwordValidationStrategy,
         } = this.configService.authOptions;
-        const { taxZoneStrategy } = this.configService.taxOptions;
+        const { taxZoneStrategy, taxLineCalculationStrategy } = this.configService.taxOptions;
         const { jobQueueStrategy, jobBufferStorageStrategy } = this.configService.jobQueueOptions;
         const {
             mergeStrategy,
@@ -103,6 +103,7 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo
             assetPreviewStrategy,
             assetStorageStrategy,
             taxZoneStrategy,
+            taxLineCalculationStrategy,
             jobQueueStrategy,
             jobBufferStorageStrategy,
             mergeStrategy,