Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
avdb13 committed Feb 17, 2024
1 parent 09fa39b commit 4a909b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix/src/client/resources/mxc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl MxcService {
tmp.set_token(access_token)?;

let resp = tmp
.get_query(format!("/_matrix/media/v3/preview_url",), &query)
.get_query("/_matrix/media/v3/preview_url".to_string(), &query)
.await?;

if resp.status().is_success() {
Expand Down

0 comments on commit 4a909b2

Please sign in to comment.