Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
96malhar committed Aug 21, 2024
1 parent 5f7d866 commit a26f8fd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ internal void ExecuteHelper()
try
{
GetMultiTransactWrite().WriteItems();
var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}";
var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}";
docTransactionParts = TransactionParts.Select(x => x as DocumentTransactWrite ?? throw new InvalidOperationException(errMsg)).ToList();
}
finally
Expand All @@ -627,7 +627,7 @@ internal async Task ExecuteHelperAsync(CancellationToken cancellationToken)
try
{
await GetMultiTransactWrite().WriteItemsAsync(cancellationToken).ConfigureAwait(false);
var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}";
var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}";
docTransactionParts = TransactionParts.Select(x => x as DocumentTransactWrite ?? throw new InvalidOperationException(errMsg)).ToList();
}
finally
Expand All @@ -643,7 +643,7 @@ internal async Task ExecuteHelperAsync(CancellationToken cancellationToken)

private MultiTransactWrite GetMultiTransactWrite()
{
var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}";
var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}";
return new MultiTransactWrite
{
Items = TransactionParts.SelectMany(x =>
Expand Down

0 comments on commit a26f8fd

Please sign in to comment.