Merge branch 'refactor-get-account-by-token' into refactor/get-account-usage

This commit is contained in:
bcmmbaga
2024-09-26 16:39:52 +03:00
21 changed files with 484 additions and 266 deletions

View File

@@ -1037,6 +1037,10 @@ func (s *SqlStore) withTx(tx *gorm.DB) Store {
}
}
func (s *SqlStore) GetDB() *gorm.DB {
return s.db
}
func (s *SqlStore) GetAccountDNSSettings(ctx context.Context, lockStrength LockingStrength, accountID string) (*DNSSettings, error) {
var accountDNSSettings AccountDNSSettings