From 54b85678185008a4f6b5778460228788e2dd970d Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Tue, 3 Jan 2023 20:29:50 -0500 Subject: start of keypair model and persisting keypairs --- views/outbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/outbox.go') diff --git a/views/outbox.go b/views/outbox.go index 6132072..37afed1 100644 --- a/views/outbox.go +++ b/views/outbox.go @@ -55,7 +55,7 @@ func RenderOutboxCollection(name, domain string, page []models.OutboxItem) (map[ itemsProp.AppendActivityStreamsCreate(crea) } totalProp := streams.NewActivityStreamsTotalItemsProperty() - totalProp.Set(20) + totalProp.Set(len(page)) oc.SetActivityStreamsTotalItems(totalProp) oc.SetActivityStreamsOrderedItems(itemsProp) return streams.Serialize(oc) -- cgit v1.2.3