1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-06-15 06:16:46 +02:00

Add get DB method to store ()

This commit is contained in:
pascal-fischer 2024-09-25 18:22:27 +02:00 committed by GitHub
parent b51d75204b
commit 1e4a0f77e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
}