Skip to content

Commit aecf8d4

Browse files
:|
1 parent d1514fb commit aecf8d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TransactionProcessor.BusinessLogic/Services/MerchantDomainService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public async Task<Result> MakeMerchantDeposit(MerchantCommands.MakeMerchantDepos
298298
if (estateResult.IsFailed)
299299
return ResultHelpers.CreateFailure(estateResult);
300300

301-
Result<MerchantAggregate> merchantResult = await this.GetAggregateOrFailure(ct => this.AggregateService.Get<MerchantAggregate>(command.MerchantId, ct), command.MerchantId, cancellationToken, false);
301+
Result<MerchantAggregate> merchantResult = await this.GetAggregateOrFailure(ct => this.AggregateService.Get<MerchantAggregate>(command.MerchantId, ct), command.MerchantId, cancellationToken);
302302
if (estateResult.IsFailed)
303303
return ResultHelpers.CreateFailure(merchantResult);
304304

@@ -310,7 +310,7 @@ public async Task<Result> MakeMerchantDeposit(MerchantCommands.MakeMerchantDepos
310310
if (validateResult.IsFailed)
311311
return ResultHelpers.CreateFailure(validateResult);
312312

313-
Result<MerchantDepositListAggregate> getDepositListResult = await this.GetAggregateOrFailure(ct => this.AggregateService.GetLatest<MerchantDepositListAggregate>(command.MerchantId, ct), command.MerchantId, cancellationToken).ConfigureAwait(false);
313+
Result<MerchantDepositListAggregate> getDepositListResult = await this.GetAggregateOrFailure(ct => this.AggregateService.GetLatest<MerchantDepositListAggregate>(command.MerchantId, ct), command.MerchantId, cancellationToken, false).ConfigureAwait(false);
314314
if (getDepositListResult.IsFailed)
315315
return ResultHelpers.CreateFailure(getDepositListResult);
316316

0 commit comments

Comments
 (0)