Skip to content

Commit

Permalink
fix mistake: missing cancellation token
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre SPIESER committed Mar 15, 2021
1 parent 6d8e358 commit 5f6e015
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected virtual MongoDbCreator MongoDbCreator
/// <param name="cancellationToken">An optional cancellation Token.</param>
public virtual async Task AddOneAsync<TDocument>(TDocument document, CancellationToken cancellationToken = default) where TDocument : IDocument<TKey>
{
await MongoDbCreator.AddOneAsync<TDocument, TKey>(document);
await MongoDbCreator.AddOneAsync<TDocument, TKey>(document, cancellationToken);
}

/// <summary>
Expand Down

0 comments on commit 5f6e015

Please sign in to comment.