Skip to content

Commit

Permalink
[bug] make dynamic routes work properly (#49)
Browse files Browse the repository at this point in the history
* make sid optional

* [bug] make dynamic routes work properly

---------

Co-authored-by: Darren Baldwin <[email protected]>
  • Loading branch information
after-ephemera and DarrenBaldwin07 authored Jun 30, 2024
1 parent d692f3e commit d9855b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clerk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl Clerk {

/// Make a GET request with params to the specified Clerk API endpoint
pub async fn get_with_params(&self, endpoint: ClerkDynamicGetEndpoint, params: Vec<&str>) -> Result<serde_json::value::Value, reqwest::Error> {
let parsed_endpoint = endpoint.to_string();
let parsed_endpoint = endpoint.as_str();
let url = format!("{}{}", self.config.base_path, parsed_endpoint);
let url_with_params = generate_path_from_params(url, params);

Expand Down

0 comments on commit d9855b5

Please sign in to comment.