chore: format
This commit is contained in:
parent
69a8bbb718
commit
cf93086910
1 changed files with 4 additions and 1 deletions
|
|
@ -614,7 +614,10 @@ async function resolveOrgScopeForApiKey(
|
|||
|
||||
const data: any = await resp.json().catch(() => ({}));
|
||||
const orgId =
|
||||
data?.organizationId ?? data?.orgScopeId ?? data?.organization?.id ?? null;
|
||||
data?.organizationId ??
|
||||
data?.orgScopeId ??
|
||||
data?.organization?.id ??
|
||||
null;
|
||||
|
||||
if (orgId && typeof orgId === "string") {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue