Skip to content

Commit 71ecde0

Browse files
Merge #586
586: update yaup r=irevoire a=NoodleSamaChan # Pull Request ## What does this PR do? - Update Yaup ## PR checklist Please check if your PR fulfills the following requirements: - [X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [X] Have you read the contributing guidelines? - [X] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: NoodleSamaChan <[email protected]>
2 parents 061eef7 + 9f783c7 commit 71ecde0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ log = "0.4"
1818
serde = { version = "1.0", features = ["derive"] }
1919
serde_json = "1.0"
2020
time = { version = "0.3.7", features = ["serde-well-known", "formatting", "parsing"] }
21-
yaup = "0.2.0"
21+
yaup = "0.3.0"
2222
either = { version = "1.8.0", features = ["serde"] }
2323
thiserror = "1.0.37"
2424
meilisearch-index-setting-macro = { path = "meilisearch-index-setting-macro", version = "0.26.1" }

examples/cli-app-with-awc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lazy_static = "1.4.0"
1515
awc = "3.4"
1616
async-trait = "0.1.51"
1717
tokio = { version = "1.27.0", features = ["full"] }
18-
yaup = "0.2.0"
18+
yaup = "0.3.0"
1919
tokio-util = { version = "0.7.10", features = ["full"] }
2020
actix-rt = "2.9.0"
2121
anyhow = "1.0.82"

examples/cli-app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ futures = "0.3"
1212
serde = { version="1.0", features = ["derive"] }
1313
serde_json = "1.0"
1414
lazy_static = "1.4.0"
15-
yaup = "0.2.0"
15+
yaup = "0.3.0"

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ mod test {
412412
"Impossible to generate the token, jsonwebtoken encountered an error: InvalidToken"
413413
);
414414

415-
let error = Error::Yaup(yaup::error::Error::Custom("Test yaup error".to_string()));
415+
let error = Error::Yaup(yaup::Error::Custom("Test yaup error".to_string()));
416416
assert_eq!(
417417
error.to_string(),
418418
"Internal Error: could not parse the query parameters: Test yaup error"

src/reqwest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl HttpClient for ReqwestClient {
7272
let url = if query.is_empty() {
7373
url.to_string()
7474
} else {
75-
format!("{url}?{query}")
75+
format!("{url}{query}")
7676
};
7777

7878
let mut request = self.client.request(verb(&method), &url);

0 commit comments

Comments
 (0)