fix: fix GetOrganizationsByUserID error when multiple organizations exist (#12257)

* test: fetching user orgs fails if multi orgs in pg db
* fix: GetOrganizationsByUserID fixed if multi orgs exist
This commit is contained in:
Steven Masley
2024-02-22 08:14:48 -06:00
committed by GitHub
parent da376549a3
commit d4d8424ce0
3 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -3540,7 +3540,7 @@ SELECT
FROM
organizations
WHERE
id = (
id = ANY(
SELECT
organization_id
FROM
+1 -1
View File
@@ -38,7 +38,7 @@ SELECT
FROM
organizations
WHERE
id = (
id = ANY(
SELECT
organization_id
FROM