diff --git a/upub/routes/src/activitypub/object/context.rs b/upub/routes/src/activitypub/object/context.rs index ed34eff..f83b449 100644 --- a/upub/routes/src/activitypub/object/context.rs +++ b/upub/routes/src/activitypub/object/context.rs @@ -51,5 +51,5 @@ pub async fn page( .map(|item| item.ap()) .collect(); - crate::builders::collection_page(&ctx.oid(&id), offset, limit, items) + crate::builders::collection_page(&upub::url!(ctx, "/objects/{id}/context"), offset, limit, items) }