Create activities only with ID
Instead of including /activity at the end
This commit is contained in:
@@ -30,7 +30,7 @@ func NewCreateActivity(o *Object) *Activity {
|
|||||||
Context: []interface{}{
|
Context: []interface{}{
|
||||||
Namespace,
|
Namespace,
|
||||||
},
|
},
|
||||||
ID: o.ID + "/activity",
|
ID: o.ID,
|
||||||
Type: "Create",
|
Type: "Create",
|
||||||
},
|
},
|
||||||
Actor: o.AttributedTo,
|
Actor: o.AttributedTo,
|
||||||
|
|||||||
Reference in New Issue
Block a user