mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-09 15:25:20 +02:00
Add get DB method to store (#2650)
This commit is contained in:
@ -1024,3 +1024,7 @@ func (s *SqlStore) withTx(tx *gorm.DB) Store {
|
|||||||
db: tx,
|
db: tx,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *SqlStore) GetDB() *gorm.DB {
|
||||||
|
return s.db
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user