Skip to content

Commit fec11b9

Browse files
Merge pull request #893 from TransactionProcessing/bug/#892_statement_create_failure
Update RecordActivityDateOnMerchantStatement method
2 parents d568ebe + d55fbf3 commit fec11b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TransactionProcessor.BusinessLogic/Services/MerchantStatementDomainService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public async Task<Result> RecordActivityDateOnMerchantStatement(MerchantStatemen
282282
try
283283
{
284284
// Work out the next statement date
285-
Result<MerchantStatementAggregate> getMerchantStatementResult = await DomainServiceHelper.GetAggregateOrFailure(ct => this.AggregateService.GetLatest<MerchantStatementAggregate>(command.MerchantStatementId, ct), command.MerchantStatementId, cancellationToken);
285+
Result<MerchantStatementAggregate> getMerchantStatementResult = await DomainServiceHelper.GetAggregateOrFailure(ct => this.AggregateService.GetLatest<MerchantStatementAggregate>(command.MerchantStatementId, ct), command.MerchantStatementId, cancellationToken, false);
286286
if (getMerchantStatementResult.IsFailed)
287287
return ResultHelpers.CreateFailure(getMerchantStatementResult);
288288

0 commit comments

Comments
 (0)