chore: implenet the external invoice
This commit is contained in:
@@ -27,7 +27,15 @@ import { WalletsModule } from "../wallets/wallets.module";
|
||||
name: INVOICE.QUEUE_NAME,
|
||||
defaultJobOptions: {
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true,
|
||||
removeOnFail: false,
|
||||
},
|
||||
}),
|
||||
BullModule.registerQueue({
|
||||
name: INVOICE.EXTERNAL_QUEUE_NAME,
|
||||
prefix: INVOICE.EXTERNAL_INVOICE_JOB_NAME,
|
||||
defaultJobOptions: {
|
||||
removeOnComplete: true,
|
||||
removeOnFail: false,
|
||||
},
|
||||
}),
|
||||
TypeOrmModule.forFeature([Invoice, InvoiceItem, Discount, UsageDiscount]),
|
||||
|
||||
Reference in New Issue
Block a user