Skip to content

Commit

Permalink
use tostring
Browse files Browse the repository at this point in the history
  • Loading branch information
jfullerton44 committed Jan 29, 2024
1 parent dc72adc commit c07e531
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rs/src/management/http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ impl TunnelManagementClient {
ENDPOINTS_API_SUB_PATH, endpoint.base.id
)),
);
url.query_pairs_mut().append_pair("connectionMode", &endpoint.base.connection_mode.to_string());
let mut request = self.make_tunnel_request(Method::PUT, url, options).await?;
json_body(&mut request, endpoint);
self.execute_json("update_tunnel_relay_endpoints", request)
Expand Down

0 comments on commit c07e531

Please sign in to comment.