Skip to content

Commit

Permalink
Solve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mg-diego committed Oct 6, 2023
1 parent 3ee1e31 commit a1b7bbe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ internal class ClientFactory
{
public static IMongoDbClient Create(Capabilities capabilities)
{
if (capabilities == null || capabilities.ConnectionString == null) throw new ArgumentNullException(nameof(capabilities));
return new MongoDbClient(capabilities.ConnectionString);
}
}

0 comments on commit a1b7bbe

Please sign in to comment.