From b5dd8cf53ed90d48eb9bef93248a0fd8e18b9c7b Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 20 Nov 2024 23:57:35 +0100 Subject: [PATCH] fix: third time's the charm it was written like 20 lines above i could have just copied it........ --- upub/routes/src/activitypub/object/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }