🚀 Elite Accountant Hub: Foundation & Trojan Horse deployment
This commit is contained in:
@@ -9,6 +9,7 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { BullModule } from '@nestjs/bull';
|
||||
import { InvoicesService } from './invoice.service';
|
||||
import { InvoicesController } from './invoice.controller';
|
||||
import { PublicInvoiceController } from './public-invoice.controller';
|
||||
import { Invoice } from './entities/invoice.entity';
|
||||
import { InvoiceLine } from './entities/invoice-line.entity';
|
||||
import { InvoiceProcessor } from './invoice.processor';
|
||||
@@ -23,9 +24,10 @@ import { CompaniesModule } from '../companies/company.module';
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Invoice, InvoiceLine]),
|
||||
BullModule.registerQueue({
|
||||
name: 'invoice-processing',
|
||||
}),
|
||||
BullModule.registerQueue(
|
||||
{ name: 'invoice-processing' },
|
||||
{ name: 'invoice-bulk-queue' }
|
||||
),
|
||||
forwardRef(() => SubscriptionsModule),
|
||||
forwardRef(() => CompaniesModule),
|
||||
TaxValidationModule,
|
||||
@@ -38,7 +40,7 @@ import { CompaniesModule } from '../companies/company.module';
|
||||
JoFotaraGatewayService,
|
||||
LocalStorageService,
|
||||
],
|
||||
controllers: [InvoicesController],
|
||||
controllers: [InvoicesController, PublicInvoiceController],
|
||||
exports: [InvoicesService],
|
||||
})
|
||||
export class InvoicesModule {}
|
||||
|
||||
Reference in New Issue
Block a user