Skip to content

Commit

Permalink
all claimbable assets response rework and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardTibben committed Nov 10, 2023
1 parent 7011b44 commit 98f31a0
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 184 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ serde = { version = "1.0.188", features = ["derive"] }
derive-getters = "0.3.0"
hex = "0.4.3"
base64 = "0.21.4"
chrono = "0.4.31"
4 changes: 2 additions & 2 deletions src/claimable_balances/all_claimable_balances_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Request for AllClaimableBalancesRequest {

/// Gets the relative URL for the request
fn get_path(&self) -> &str {
"/claimable_balances/all"
"/claimable_balances/"
}

// Gets the query parameters for the request
Expand Down Expand Up @@ -82,7 +82,7 @@ impl Request for AllClaimableBalancesRequest {
/// The URL for the request
fn build_url(&self, base_url: &str) -> String {
format!(
"{}{}{}",
"{}{}?{}",
base_url,
self.get_path(),
self.get_query_parameters()
Expand Down
Loading

0 comments on commit 98f31a0

Please sign in to comment.