aboutsummaryrefslogtreecommitdiff
path: root/activityPubStruct.go
diff options
context:
space:
mode:
Diffstat (limited to 'activityPubStruct.go')
-rw-r--r--activityPubStruct.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/activityPubStruct.go b/activityPubStruct.go
index b19536a..06c97e1 100644
--- a/activityPubStruct.go
+++ b/activityPubStruct.go
@@ -109,7 +109,7 @@ type ObjectBase struct {
Alias string `json:"alias,omitempty"`
AttributedTo string `json:"attributedTo,omitempty"`
TripCode string `json:"tripcode,omitempty"`
- Actor *Actor `json:"actor,omitempty"`
+ Actor string `json:"actor,omitempty"`
Audience string `json:"audience,omitempty"`
Content string `json:"content,omitempty"`
EndTime string `json:"endTime,omitempty"`
@@ -154,7 +154,7 @@ type NestedObjectBase struct {
Alias string `json:"alias,omitempty"`
AttributedTo string `json:"attributedTo,omitempty"`
TripCode string `json:"tripcode,omitempty"`
- Actor *Actor `json:"actor,omitempty"`
+ Actor string `json:"actor,omitempty"`
Audience string `json:"audience,omitempty"`
Content string `json:"content,omitempty"`
EndTime string `json:"endTime,omitempty"`