.
This commit is contained in:
parent
f185bf87d0
commit
4786eb189e
@ -35,7 +35,7 @@ export class ProformaFinder implements IProformaFinder {
|
||||
proformaId: UniqueID,
|
||||
transaction?: Transaction
|
||||
): Promise<Result<Proforma, Error>> {
|
||||
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<Result<Collection<ProformaSummary>, Error>> {
|
||||
return this.repository.findByCriteriaInCompany(companyId, criteria, transaction, {});
|
||||
return this.repository.findByCriteriaInCompany(companyId, criteria, transaction);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user