aboutsummaryrefslogtreecommitdiff
path: root/activityPubStruct.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-20 14:55:50 -0800
committerFChannel <=>2021-01-20 14:55:50 -0800
commitb6c03f8aa0ce125a76464699a72ff156769feb0e (patch)
tree1d270f5e81a823046cb0d7d9390b16787510b8b6 /activityPubStruct.go
parent08fea42e13bd16b7f50ece10eebcbebe8c9509fb (diff)
added actor object to context json
Diffstat (limited to 'activityPubStruct.go')
-rw-r--r--activityPubStruct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/activityPubStruct.go b/activityPubStruct.go
index d200f64..f145a01 100644
--- a/activityPubStruct.go
+++ b/activityPubStruct.go
@@ -176,7 +176,7 @@ type NestedObjectBase struct {
}
type CollectionBase struct {
- Actor string `json:"actor,omitempty"`
+ Actor *Actor `json:"actor,omitempty"`
Summary string `json:"summary,omitempty"`
Type string `json:"type,omitempty"`
TotalItems int `json:"totalItems,omitempty"`