Enable writing of PIS Metadata

This commit is contained in:
Fred Boniface
2024-11-22 21:38:53 +00:00
parent 977ff77d50
commit 2ef228a192
4 changed files with 8 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ var MongoClient (*mongo.Client)
// Builds the DB URI based on the loaded configuration parameters
func getDbUri(cfg *helpers.Configuration) string {
var uri = "mongodb://" + cfg.DbUser + ":" + cfg.DbPass + "@" + cfg.DbHost + ":" + cfg.DbPort + "?authSource=owlboard"
var uri = "mongodb://" + cfg.DbUser + ":" + cfg.DbPass + "@" + cfg.DbHost + ":" + cfg.DbPort + "/?authSource=owlboard"
return uri
}