sync once pointer

This commit is contained in:
crn4
2025-10-29 16:38:33 +01:00
parent 3a11175d34
commit ed0c5a470a
3 changed files with 10 additions and 1 deletions

View File

@@ -1620,6 +1620,8 @@ func (s *SqlStore) GetAccount(ctx context.Context, accountID string) (*types.Acc
account.RoutesG = nil
account.NameServerGroupsG = nil
account.InitOnce()
return &account, nil
}