mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix clippy warnings for needless_borrows_for_generic_args (#9387)
This commit is contained in:
@ -232,7 +232,7 @@ mod tests {
|
||||
|
||||
let body = r#"{"jsonrpc": "2.0", "method": "greet_melkor", "params": [], "id": 1}"#;
|
||||
let response = client
|
||||
.post(&format!("http://{AUTH_ADDR}:{AUTH_PORT}"))
|
||||
.post(format!("http://{AUTH_ADDR}:{AUTH_PORT}"))
|
||||
.bearer_auth(jwt.unwrap_or_default())
|
||||
.body(body)
|
||||
.header(header::CONTENT_TYPE, "application/json")
|
||||
|
||||
Reference in New Issue
Block a user