diff --git a/src/server/fetcher.rs b/src/server/fetcher.rs index 6fbc65d1..e92d787f 100644 --- a/src/server/fetcher.rs +++ b/src/server/fetcher.rs @@ -236,9 +236,7 @@ async fn fetch_object_inner(ctx: &Context, id: &str, depth: usize) -> crate::Res return Ok(x); // already in db, easy } - let object = Context::request( - Method::GET, id, None, &format!("https://{}", ctx.domain()), ctx.pkey(), ctx.domain(), - ).await?.json::().await?; + let object = ctx.pull_object(id).await?; if let Some(oid) = object.id() { if oid != id {