]> Untitled Git - lemmy.git/blobdiff - crates/utils/src/request.rs
Running clippy --fix (#1647)
[lemmy.git] / crates / utils / src / request.rs
index 66d0b11d1906ab104edd6439339645bbe2345e09..f14a6c1ac23c7bf941c3c80065ca01e573adbe80 100644 (file)
@@ -134,7 +134,7 @@ pub async fn fetch_iframely_and_pictrs_data(
           }
         },
         // Try to generate a small thumbnail if iframely is not supported
-        None => match fetch_pictrs(client, &url).await {
+        None => match fetch_pictrs(client, url).await {
           Ok(res) => Some(res.files[0].file.to_owned()),
           Err(e) => {
             error!("pictrs err: {}", e);