Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #77 from PatStiles/feat/make_client_and_endpoint_p…
Browse files Browse the repository at this point in the history
…ublic

feat: Expose client an endpoint
  • Loading branch information
ralexstokes authored Aug 22, 2023
2 parents 565d4e4 + 2dc029e commit cc6ff93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ async fn api_error_or_value<T: serde::de::DeserializeOwned>(
#[allow(clippy::type_complexity)]
#[derive(Clone)]
pub struct Client<A, B, C, D, E, F, G, H, I, J> {
http: reqwest::Client,
endpoint: Url,
pub http: reqwest::Client,
pub endpoint: Url,
_phantom: std::marker::PhantomData<(A, B, C, D, E, F, G, H, I, J)>,
}

Expand Down

0 comments on commit cc6ff93

Please sign in to comment.