Changesets · Branches · Tags · Compare
| Changeset | 02e5305869a62ec20a12cbf130577cd69657181a44db71b523a7d19c0fc82fe4 |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-09-14 11:51 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-09-14 11:51 -07:00 |
| Parents | 8f2687024467 |
1 file changed
modified extensions/cli/src/auth/workos.ts +4 −1
| @@ -614,7 +614,10 @@ | ||
| 614 | 614 | |
| 615 | 615 | const data: any = await resp.json().catch(() => ({})); |
| 616 | 616 | const orgId = |
| 617 | - data?.organizationId ?? data?.orgScopeId ?? data?.organization?.id ?? null; | |
| 617 | + data?.organizationId ?? | |
| 618 | + data?.orgScopeId ?? | |
| 619 | + data?.organization?.id ?? | |
| 620 | + null; | |
| 618 | 621 | |
| 619 | 622 | if (orgId && typeof orgId === "string") { |
| 620 | 623 | return { |