From f1c97c7c36db1471feb5044e51da23a821f764c5 Mon Sep 17 00:00:00 2001 From: dim145 Date: Fri, 3 Jan 2025 00:39:29 +0100 Subject: [PATCH] fix: add missing group_by clause for access_list get --- backend/internal/access-list.js | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/internal/access-list.js b/backend/internal/access-list.js index 41c975e6e..10743bf60 100644 --- a/backend/internal/access-list.js +++ b/backend/internal/access-list.js @@ -258,6 +258,7 @@ const internalAccessList = { }) .where('access_list.is_deleted', 0) .andWhere('access_list.id', data.id) + .groupBy('access_list.id') .allowGraph('[owner,items,clients,proxy_hosts.[certificate,access_list.[clients,items]]]') .first();