fix group id mapping

This commit is contained in:
pascal
2026-08-03 22:24:28 +02:00
parent 02ec1f5dcb
commit 02138dffdd

View File

@@ -117,7 +117,7 @@ func (pg *PgStore) GetNetworkMapData(ctx context.Context, accountId string) (*ne
DNSSettings: &dnsSettings,
Network: &network,
Peers: toMap(peers, func(p nmdata.Peer) string { return p.ID }),
Groups: toMap(groups, func(g nmdata.Group) string { return g.PublicID }),
Groups: toMap(groups, func(g nmdata.Group) string { return g.ID }),
Policies: toSliceOfPtrs(policies),
ResourcePolicies: resourcePolicies,
Routes: toSliceOfPtrs(routes),