fix: missing org id
This commit is contained in:
parent
48a2517349
commit
ca9224a26d
1 changed files with 5 additions and 1 deletions
|
|
@ -55,7 +55,11 @@ export function BackgroundModeView({
|
|||
setCheckingGitHub(true);
|
||||
// Try to list agents - if this fails with GitHub token error,
|
||||
// we know GitHub isn't connected
|
||||
const result = await ideMessenger.request("listBackgroundAgents", {});
|
||||
const organizationId =
|
||||
currentOrg?.id !== "personal" ? currentOrg?.id : undefined;
|
||||
const result = await ideMessenger.request("listBackgroundAgents", {
|
||||
organizationId,
|
||||
});
|
||||
|
||||
// Check for error response
|
||||
if ("error" in result) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue