Skip to content

Commit

Permalink
add base url getter to APIClient (#6888)
Browse files Browse the repository at this point in the history
### Description
I think some stuff got nuked in the big auth revert. This should get us
building.

### Testing Instructions
Try building Turborepo


Closes TURBO-1992
  • Loading branch information
Zertsov committed Jan 4, 2024
1 parent 23c4628 commit a9a654b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/turborepo-api-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,10 @@ impl APIClient {
})
}

pub fn base_url(&self) -> &str {
self.base_url.as_str()
}

/// Create a new request builder with the preflight check done,
/// team parameters added, CI header, and a content type of json.
pub(crate) async fn create_request_builder(
Expand Down

0 comments on commit a9a654b

Please sign in to comment.