mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
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:
@ -3540,7 +3540,7 @@ SELECT
|
||||
FROM
|
||||
organizations
|
||||
WHERE
|
||||
id = (
|
||||
id = ANY(
|
||||
SELECT
|
||||
organization_id
|
||||
FROM
|
||||
|
Reference in New Issue
Block a user