fixes + tests

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-08-05 10:16:21 +02:00
parent 33a0e1bc2b
commit 748f6b3fbb
6 changed files with 45 additions and 60 deletions
@@ -17,7 +17,7 @@ const (
(
select array_agg(group_peers.peer_id)
from group_peers
where group_peers.group_id = groups.id
where group_peers.group_id = groups.id and group_peers.account_id=$1
) as peers
from groups where account_id=$1
`