|
@@ -36,7 +36,7 @@ func (db *MongoDB) GetOrCreateDatabase(name string) *mongo.Database {
|
|
|
|
|
|
func NewMongoDB(bus *comm.NatsBus) *MongoDB {
|
|
func NewMongoDB(bus *comm.NatsBus) *MongoDB {
|
|
|
|
|
|
- inst, err := bus.NewMongoDBFromConfig("nrhe-mongo")
|
|
|
|
|
|
+ inst, err := bus.NewMongoDBFromConfig("moutai-mongo")
|
|
|
|
|
|
if err != nil {
|
|
if err != nil {
|
|
panic(err)
|
|
panic(err)
|