fix(api): Fix URL logic

This commit is contained in:
Tyler Beckman 2024-10-27 00:21:35 -06:00
parent 032a99f4fc
commit ecbf630127
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -35,7 +35,7 @@ impl CtApiClient {
self.inner_client self.inner_client
.request( .request(
endpoints::ADD_CHAIN_ENDPOINT.0, endpoints::ADD_CHAIN_ENDPOINT.0,
endpoints::ADD_CHAIN_ENDPOINT.1 self.log_url.to_string() + endpoints::ADD_CHAIN_ENDPOINT.1
) )
.json(&AddChainRequest { chain }) .json(&AddChainRequest { chain })
.send() .send()