Create activities only with ID

Instead of including /activity at the end
This commit is contained in:
Matt Baer
2018-08-08 16:04:01 -04:00
parent 7182ec7db1
commit be77b6dedc
+1 -1
View File
@@ -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,