Skip to content

Commit 674f14d

Browse files
committed
Add SwitchSubAccountType and update dependencies (RELEASEMINOR)
1 parent 00b7abd commit 674f14d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ license = "MIT"
1414
edition = "2018"
1515

1616
[dependencies]
17-
reqwest = { version = "0.9.17", default-features = false, features = ["rustls-tls"] }
18-
base64 = "0.10.1"
19-
hyper = "0.12.25"
20-
serde = { version = "1.0", features = ["derive"] }
21-
serde_json = "1.0"
22-
regex = "1"
17+
reqwest = { version = "0.9.24", default-features = false, features = ["rustls-tls"] }
18+
base64 = "0.12.1"
19+
hyper = "0.13.5"
20+
serde = { version = "1.0.110", features = ["derive"] }
21+
serde_json = "1.0.53"
22+
regex = "1.3.7"
2323
url = "1"

src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl VoiceIt2 {
268268

269269
pub fn switch_sub_account_type(&self, sub_account_api_key: &str) -> Result<String, VoiceItError> {
270270
let url = format!(
271-
"{}/subaccount/{}//switchType{}",
271+
"{}/subaccount/{}/switchType{}",
272272
String::from(BASE_URL),
273273
String::from(sub_account_api_key),
274274
self.notification_url_parameter

0 commit comments

Comments
 (0)