chore: Reformat

This commit is contained in:
Tyler Beckman 2024-10-27 14:48:08 -06:00
parent a563e46162
commit 43b4220de2
Signed by: Ty
GPG key ID: 2813440C772555A4
3 changed files with 3 additions and 5 deletions

View file

@ -77,4 +77,4 @@ pub const ADD_PRE_CHAIN: Endpoint = (reqwest::Method::POST, "/ct/v1/add-pre-chai
///
/// tree_head_signature: A TreeHeadSignature for the above data.
/// ```
pub const GET_STH: Endpoint = (reqwest::Method::GET, "/ct/v1/get-sth");
pub const GET_STH: Endpoint = (reqwest::Method::GET, "/ct/v1/get-sth");

View file

@ -78,9 +78,7 @@ impl CtApiClient {
.await
}
pub async fn get_signed_tree_head(
&self
) -> reqwest::Result<GetSthResponse> {
pub async fn get_signed_tree_head(&self) -> reqwest::Result<GetSthResponse> {
self.inner_client
.request(
endpoints::GET_STH.0,

View file

@ -23,7 +23,7 @@ pub struct AddChainResponse {
}
/// A response given when fetching the Signed Tree Head of a CT log
///
///
/// See: [`super::endpoints::GET_STH`]
#[derive(Debug, Deserialize)]
pub struct GetSthResponse {