diff --git a/TransactionProcessor.BusinessLogic/Services/MerchantStatementDomainService.cs b/TransactionProcessor.BusinessLogic/Services/MerchantStatementDomainService.cs index 53e82755..64838347 100644 --- a/TransactionProcessor.BusinessLogic/Services/MerchantStatementDomainService.cs +++ b/TransactionProcessor.BusinessLogic/Services/MerchantStatementDomainService.cs @@ -282,7 +282,7 @@ public async Task RecordActivityDateOnMerchantStatement(MerchantStatemen try { // Work out the next statement date - Result getMerchantStatementResult = await DomainServiceHelper.GetAggregateOrFailure(ct => this.AggregateService.GetLatest(command.MerchantStatementId, ct), command.MerchantStatementId, cancellationToken); + Result getMerchantStatementResult = await DomainServiceHelper.GetAggregateOrFailure(ct => this.AggregateService.GetLatest(command.MerchantStatementId, ct), command.MerchantStatementId, cancellationToken, false); if (getMerchantStatementResult.IsFailed) return ResultHelpers.CreateFailure(getMerchantStatementResult);