Skip to content

Commit

Permalink
fix: fix Security vulnerability
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
  • Loading branch information
cubxxw committed Dec 15, 2023
1 parent 0992a36 commit 10646f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/common/db/unrelation/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ type Mongo struct {
func NewMongo() (*Mongo, error) {
specialerror.AddReplace(mongo.ErrNoDocuments, errs.ErrRecordNotFound)
uri := buildMongoURI()
fmt.Println("mongo:", uri)

var mongoClient *mongo.Client
var err error
Expand Down

0 comments on commit 10646f2

Please sign in to comment.