fix: show org id not (no org)
This commit is contained in:
parent
d97a546eda
commit
33fcfe10c1
1 changed files with 2 additions and 2 deletions
|
|
@ -33,12 +33,12 @@ export async function handleInfoSlashCommand() {
|
|||
const config = loadAuthConfig();
|
||||
if (config && isAuthenticatedConfig(config)) {
|
||||
const email = config.userEmail || config.userId;
|
||||
const org = "(no org)"; // Organization info not available in AuthenticatedConfig
|
||||
const orgId = config.organizationId;
|
||||
infoLines.push(
|
||||
"",
|
||||
chalk.white("Authentication:"),
|
||||
` Email: ${chalk.green(email)}`,
|
||||
` Organization: ${chalk.cyan(org)}`,
|
||||
` Org ID: ${chalk.cyan(orgId)}`,
|
||||
);
|
||||
} else {
|
||||
infoLines.push(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue