Skip to content

Commit 0f48012

Browse files
committed
fixup
1 parent 7111d1e commit 0f48012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ func (api *API) CreateInMemoryTaggedProvisionerDaemon(dialCtx context.Context, n
14551455
}
14561456
}()
14571457

1458-
orgs, _ := api.Database.GetOrganizations(context.Background())
1458+
orgs, _ := api.Database.GetOrganizations(dbauthz.AsSystemRestricted(dialCtx))
14591459
defaultOrg := orgs[i%len(orgs)]
14601460
i++
14611461

0 commit comments

Comments
 (0)