update: change the danak services fetch to another route and accept category id "
query for that
This commit is contained in:
@@ -199,6 +199,7 @@ export class InvoicesService {
|
||||
dueDate,
|
||||
items: invoiceItems,
|
||||
});
|
||||
await queryRunner.manager.save(Invoice, invoice);
|
||||
|
||||
await this.notificationsService.createInvoiceCreationNotification(
|
||||
user.id,
|
||||
@@ -214,7 +215,6 @@ export class InvoicesService {
|
||||
queryRunner,
|
||||
);
|
||||
//
|
||||
await queryRunner.manager.save(Invoice, invoice);
|
||||
return invoice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user