fix: mogodb url connent

pull/1232/head
dong 2 years ago
parent 5b29273425
commit 8cfbecfa81

@ -186,7 +186,7 @@ func checkMongo() error {
config.Config.Mongo.MaxPoolSize)
}
}
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri)
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))
if err != nil {
return errs.Wrap(err)
} else {

Loading…
Cancel
Save