aboutsummaryrefslogtreecommitdiff
path: root/outboxGet.go
diff options
context:
space:
mode:
Diffstat (limited to 'outboxGet.go')
-rw-r--r--outboxGet.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/outboxGet.go b/outboxGet.go
index 7aaf70f..dbd0fa9 100644
--- a/outboxGet.go
+++ b/outboxGet.go
@@ -13,7 +13,8 @@ func GetActorOutbox(w http.ResponseWriter, r *http.Request, db *sql.DB) {
collection.OrderedItems = GetObjectFromDB(db, actor).OrderedItems
collection.AtContext.Context = "https://www.w3.org/ns/activitystreams"
- collection.Actor = actor.Id
+ collection.Actor = &actor
+ collection.Actor.AtContext.Context = ""
collection.TotalItems = GetObjectPostsTotalDB(db, actor)
collection.TotalImgs = GetObjectImgsTotalDB(db, actor)