removed debug msg

master
Alex 2021-12-28 20:49:48 +01:00
parent 0f6256d831
commit e34643a451
1 changed files with 0 additions and 2 deletions

View File

@ -18,8 +18,6 @@ var PlayersCollection *mongo.Collection
func getConnectionURI() string { func getConnectionURI() string {
cfg := serverconfig.Cfg.MongoDB cfg := serverconfig.Cfg.MongoDB
logger.Mongo.Println("mongo cfg", cfg.Username)
return "mongodb://" + cfg.Username + ":" + cfg.Password + "@" + cfg.Hostname + ":" + cfg.Port + "/?maxPoolSize=20&w=majority&authSource=" + cfg.Database return "mongodb://" + cfg.Username + ":" + cfg.Password + "@" + cfg.Hostname + ":" + cfg.Port + "/?maxPoolSize=20&w=majority&authSource=" + cfg.Database
} }