diff --git a/modules/customer-invoices/src/api/application/proformas/services/proforma-finder.ts b/modules/customer-invoices/src/api/application/proformas/services/proforma-finder.ts index 05bef01c..0c5e3928 100644 --- a/modules/customer-invoices/src/api/application/proformas/services/proforma-finder.ts +++ b/modules/customer-invoices/src/api/application/proformas/services/proforma-finder.ts @@ -35,7 +35,7 @@ export class ProformaFinder implements IProformaFinder { proformaId: UniqueID, transaction?: Transaction ): Promise> { - return this.repository.getByIdInCompany(companyId, proformaId, transaction, {}); + return this.repository.getByIdInCompany(companyId, proformaId, transaction); } async proformaExists( @@ -51,6 +51,6 @@ export class ProformaFinder implements IProformaFinder { criteria: Criteria, transaction?: Transaction ): Promise, Error>> { - return this.repository.findByCriteriaInCompany(companyId, criteria, transaction, {}); + return this.repository.findByCriteriaInCompany(companyId, criteria, transaction); } }