Skip to content

use org_id on POST /v1/api_key#177

Merged
Hurshal Patel (choochootrain) merged 2 commits into
mainfrom
apikey-orgid
May 13, 2026
Merged

use org_id on POST /v1/api_key#177
Hurshal Patel (choochootrain) merged 2 commits into
mainfrom
apikey-orgid

Conversation

@choochootrain
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

Latest downloadable build artifacts for this PR commit 10cacb53158b:

Available artifact names
  • ``artifacts-build-global
  • ``artifacts-build-local-x86_64-apple-darwin
  • ``artifacts-build-local-x86_64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-apple-darwin
  • ``artifacts-build-local-x86_64-unknown-linux-gnu
  • ``artifacts-build-local-x86_64-unknown-linux-musl
  • ``artifacts-build-local-aarch64-unknown-linux-gnu
  • ``artifacts-plan-dist-manifest
  • ``cargo-dist-cache

Comment thread src/setup/mod.rs
let org_id = client.org_id().trim();
if org_id.is_empty() {
bail!(
"setup could not determine the current org_id for API key creation; rerun with a direct API key or re-authenticate so setup can resolve the selected organization"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd specify what commands to run here, like rerun bt setup, or do bt auth login.

@viadezo1er
Copy link
Copy Markdown
Contributor

I think the removal of use crate::utils::parse_duration_to_seconds; is due to a mistake of mine found by the agent.

@choochootrain Hurshal Patel (choochootrain) merged commit 232508e into main May 13, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants