Skip to content

Commit cdf80fa

Browse files
Fix parameter naming in AddMongoDB method (#629)
1 parent cf0a857 commit cdf80fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/content/docs/integrations/databases/mongodb/mongodb-host.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var builder = DistributedApplication.CreateBuilder(args);
8686
var username = builder.AddParameter("username");
8787
var password = builder.AddParameter("password", secret: true);
8888

89-
var mongo = builder.AddMongoDB("mongo", username, password);
89+
var mongo = builder.AddMongoDB("mongo", userName: username, password: password);
9090
var mongodb = mongo.AddDatabase("mongodb");
9191

9292
var myService = builder.AddProject<Projects.ExampleProject>()

0 commit comments

Comments
 (0)