Skip to content

Commit

Permalink
Connstring is a pointer in newer mongo-driver versions
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson committed Feb 3, 2025
1 parent 495fd42 commit e753816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/database/drivers/mongodb/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (
// Database is a MongoDB database connection.
type Driver struct {
client *mongo.Client
connectionString connstring.ConnString
connectionString *connstring.ConnString
}

// Get creates and connects a new database.Database interface against MongoDB.
Expand Down

0 comments on commit e753816

Please sign in to comment.