Rename Db's Tx to underlying
This commit is contained in:
1 parent
062ce6079f
commit
ad8d4e9c80
3 files changed
+74
-70
No files matched your search
@@ -384,7 +384,7 @@ func (b *Server) CreateDevDatabase(dialect string) error {
|
||||
}
|
||||
b.Database = dbase
|
||||
|
||||
rw := &db.Db{Tx: b.Database}
|
||||
rw := db.New(b.Database)
|
||||
repo, err := iam.NewRepository(rw, rw, b.ControllerKMS)
|
||||
if err != nil {
|
||||
c()
|
||||
|
||||
Reference in new issue
Block a user