Explorar el Código

refactor(email-plugin): Removed unused connection

Michael Bromley hace 5 años
padre
commit
c1e58e74f1
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      packages/email-plugin/src/plugin.ts

+ 0 - 3
packages/email-plugin/src/plugin.ts

@@ -10,7 +10,6 @@ import {
     OnVendureClose,
     PluginCommonModule,
     RuntimeVendureConfig,
-    TransactionalConnection,
     Type,
     VendurePlugin,
     WorkerService,
@@ -26,7 +25,6 @@ import {
     EmailPluginDevModeOptions,
     EmailPluginOptions,
     EmailWorkerMessage,
-    EventWithAsyncData,
     EventWithContext,
     IntermediateEmailDetails,
 } from './types';
@@ -183,7 +181,6 @@ export class EmailPlugin implements OnVendureBootstrap, OnVendureClose {
     /** @internal */
     constructor(
         private eventBus: EventBus,
-        private connection: TransactionalConnection,
         private moduleRef: ModuleRef,
         private workerService: WorkerService,
         private jobQueueService: JobQueueService,