added PrivateServiceCandidates

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-08-03 18:04:11 +02:00
parent 164b2baa4d
commit e35a0f3318
4 changed files with 51 additions and 24 deletions
@@ -23,7 +23,7 @@ func (pg *PgStore) GetNetworks(ctx context.Context, accountId string) ([]network
}
func GetNetworksViaPgxConnection(ctx context.Context, con *pgx.Conn, accountId string) ([]network, error) {
rows, err := con.Query(ctx, GetGroupsQuery, accountId)
rows, err := con.Query(ctx, GetNetworksQuery, accountId)
if err != nil {
return nil, err
}