]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/protocol/objects/page.rs
Consolidate reqwest clients, use reqwest-middleware for tracing
[lemmy.git] / crates / apub / src / protocol / objects / page.rs
index bac85600a9a0cd56cc77f689c7280725c9a0f8f2..08b167ddee33b1122f0f6aef69c7e1d31c11fc32 100644 (file)
@@ -70,7 +70,10 @@ impl Page {
     loop {
       if let Some(cid) = to_iter.next() {
         let cid = ObjectId::new(cid.clone());
-        if let Ok(c) = cid.dereference(context, request_counter).await {
+        if let Ok(c) = cid
+          .dereference(context, context.client(), request_counter)
+          .await
+        {
           break Ok(c);
         }
       } else {