mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-23 23:29:15 +01:00
Add get DB method to store (#2650)
This commit is contained in:
parent
b51d75204b
commit
1e4a0f77e2
@ -1024,3 +1024,7 @@ func (s *SqlStore) withTx(tx *gorm.DB) Store {
|
||||
db: tx,
|
||||
}
|
||||
}
|
||||
|
||||
func (s *SqlStore) GetDB() *gorm.DB {
|
||||
return s.db
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user