We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c871bb commit b71ae4aCopy full SHA for b71ae4a
Models/MongoConnection.cs
@@ -18,7 +18,7 @@ public MongoConnection(IConfiguration configuration)
18
_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
19
// This method can be used to initialize or test the MongoDB connection
20
// using the configuration settings provided.
21
- System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
+ System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
22
23
var dbPassword = _configuration["MONGODB_PASSWORD"]
24
?? Environment.GetEnvironmentVariable("MONGODB_PASSWORD")
0 commit comments