Skip to content

Commit

Permalink
replacing mgo.Role with string
Browse files Browse the repository at this point in the history
  • Loading branch information
knainwal committed Jul 8, 2024
1 parent 184e0f7 commit 827854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/a3s/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func createMongoDBAccount(cfg conf.MongoConf, username string) error {
db, close, _ := manipmongo.GetDatabase(m)
defer close()

role := map[string][]mgo.Role{
role := map[string][]string{
"a3s": {"readWrite", "dbAdmin"},
}
createCommand := bson.D{
Expand Down

0 comments on commit 827854f

Please sign in to comment.