fix: omit users for 'Everyone' group in response (#5937)

This commit is contained in:
Jon Ayers
2023-01-31 13:30:20 -06:00
committed by GitHub
parent 69fce0488e
commit c162c0f284
7 changed files with 26 additions and 90 deletions

View File

@ -36,18 +36,6 @@ AND
AND
users.deleted = 'false';
-- name: GetAllOrganizationMembers :many
SELECT
users.*
FROM
users
JOIN
organization_members
ON
users.id = organization_members.user_id
WHERE
organization_members.organization_id = $1;
-- name: GetGroupsByOrganizationID :many
SELECT
*