Skip to content

Commit c6b5276

Browse files
fix RELEASEPATCH
1 parent 0d29a55 commit c6b5276

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "voiceit2"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
authors = ["gilgameshskytrooper <[email protected]>"]
55
description = """
66
A Rust wrapper for VoiceIt's API 2.0 featuring Voice + Face Verification and Identification.

src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl VoiceIt2 {
8686
Ok(body)
8787
}
8888

89-
pub fn check_if_user_exists(&self, user_id: &str) -> Result<String, VoiceItError> {
89+
pub fn check_user_exists(&self, user_id: &str) -> Result<String, VoiceItError> {
9090
let url = format!(
9191
"{}/users/{}{}",
9292
String::from(BASE_URL),

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ mod tests {
122122
assert!(crate::is_user_id(&user_id));
123123
assert_eq!(result.responseCode, "SUCC");
124124

125-
let result: crate::structs::users::CheckUserExistsReturn = match &x.check_if_user_exists(&user_id) {
125+
let result: crate::structs::users::CheckUserExistsReturn = match &x.check_user_exists(&user_id) {
126126
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}", &x).as_str()),
127127
Err(err) => {
128128
panic!("Panic error: {:?}", err);

0 commit comments

Comments
 (0)